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
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
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
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
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
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,
>
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
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]#