Re: [ansible-project] Re: We could be wrong, but this one looks like it might be an issue with missing quotes.

2014-04-16 Thread Michael DeHaan
This may be your email wrapping things, but this looks bad to me. Can you share what you have on gist.github.com so we can see instead? Instead of this: - copy: "src=/tmp/{{ freeipaserver_ip }}/var/lib/ipa/replica-info-{{ ansible_hostname }}.gpg dest=/var/lib/ipa/replica-info-{{ ansible_hostname

Re: [ansible-project] Re: We could be wrong, but this one looks like it might be an issue with missing quotes.

2014-04-16 Thread Andrew Holway
As I said. I have tried many combinations of quotes (including no quotes) to make this work. It currently looks like this: name: Pull file from ansible server - copy: "src=/tmp/{{ freeipaserver_ip }}/var/lib/ipa/replica-info-{{ ansible_hostname }}.gpg dest=/var/lib/ipa/replica-info-{{ ansible_host

Re: [ansible-project] Re: We could be wrong, but this one looks like it might be an issue with missing quotes.

2014-04-15 Thread Brian Coca
have you tried? with_items: - foo ​ -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this gro

Re: [ansible-project] Re: We could be wrong, but this one looks like it might be an issue with missing quotes.

2014-04-15 Thread Michael DeHaan
Definitely don't quote individuals like this, you'll end up with quotes in the paths! copy: src=/tmp/"{{ freeipaserver_ip }}"/var/lib/ipa/replica-info-"{{ ansible_hostname }}".gpg dest=/var/lib/ipa/replica- info-"{{ ansible_hostname }}".gpg owner=foo group=foo mode=0644 On Tue, Apr 15, 2014 at 6

[ansible-project] Re: We could be wrong, but this one looks like it might be an issue with missing quotes.

2014-04-15 Thread James Tanner
Also, you don't need to quote the entire argset: copy: src=/tmp/"{{ freeipaserver_ip }}"/var/lib/ipa/replica-info-"{{ ansible_hostname }}".gpg dest=/var/lib/ipa/replica- info-"{{ ansible_hostname }}".gpg owner=foo group=foo mode=0644 On Tuesday, April 15, 2014 5:37:10 PM UTC-4, Andrew Holway wr

[ansible-project] Re: We could be wrong, but this one looks like it might be an issue with missing quotes.

2014-04-15 Thread James Tanner
Also the hypen should be in front of name: and copy: should be aligned with name: - name: blah copy: On Tuesday, April 15, 2014 5:37:10 PM UTC-4, Andrew Holway wrote: > > Hi, > > I cant get past this error. I've tried various combinations of quotes but > to no avail. > > Any ideas? > > ta, >

Re: [ansible-project] Re: We could be wrong, but this one looks like it might be an issue with missing quotes.

2014-04-15 Thread Andrew Holway
Hi, please ignore the foo stuff. This spat out with the error. - copy: "src=/tmp/{{ freeipaserver_ip }}/var/lib/ipa/replica-info-{{ ansible_hostname }}.gpg dest=/var/lib/ipa/replica-info-{{ ansible_hostname }}.gpg owner=foo group=foo mode=0644" This is causing the error. On 15 April 2014 22:59

[ansible-project] Re: We could be wrong, but this one looks like it might be an issue with missing quotes.

2014-04-15 Thread James Tanner
If foo is a list, then do this ... with_items: foo On Tuesday, April 15, 2014 5:37:10 PM UTC-4, Andrew Holway wrote: > > Hi, > > I cant get past this error. I've tried various combinations of quotes but > to no avail. > > Any ideas? > > ta, > > Andrew > > > [root@ansible ansible-catn-freeipa]#