Please paste output and ansible --version. Thanks!
On Tue, Mar 18, 2014 at 8:43 PM, Nick Doyle <[email protected]> wrote: > Hm I still get the prob .. > > - name: allow gateway > sudo: yes > lineinfile: > line="ALL: 127.0.0.1" > dest=/etc/hosts.allow > > > On Saturday, 13 April 2013 03:43:03 UTC+10, Michael DeHaan wrote: > >> Right, hence "If there is a colon in a YAML line, it must be quoted." >> >> >> On Fri, Apr 12, 2013 at 1:13 PM, Peter Klausner <[email protected]>wrote: >> >>> For the record, this syntax did it: >>> >>> lineinfile: "... line='foo: bar' ..." >>> >>> Note that the documentation still samples the wrong syntax: >>> http://ansible.cc/docs/modules.html#lineinfile >>> >>> And note that recent sudo supports the /etc/sudoers.d directory, >>> which obsoletes mucking with lineinfile in this case. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ansible Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> >> >> -- >> Michael DeHaan <[email protected]> >> >> CTO, AnsibleWorks, Inc. >> http://www.ansibleworks.com/ >> >> -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/28583879-97bb-4260-b772-66f05b853a0f%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/28583879-97bb-4260-b772-66f05b853a0f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEVJ8QPX9d%2BC8TpK9caZCTdCUadPUmGW9F8CBJar4waD32rU4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
