I am upgrading from 1.9 to 2.0 and am running into a problem. When I do an
ansible run, it fails with the error above. Everything works fine on
Ansible 1.9
Thanks !
Seshadri
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe f
In the snippet below, if state is absent, then obviously permissions can’t
be set on something that is not present. My objective is to run
“permissions” only when state is present; else, do nothing.
acl:
name={{secrets_dir}}/{{item.0.file}}
state="{{'present' if item.0.pods is not def
Answering my own question:
In Ansible 2.x, when state is absent, the permissions field can't be set.
The way out here is to have two clauses (set ACL, remove ACL) each with a
"when" like:
name: task(set ACLs)
...
...
when item.0.pods is not defined
name: task(remove ACLs)
...
...
when not(it
Ansible newbie alert !
I am upgrading from 1.9 to 2.4. A play that works fine in the former throws
up the error:
*recursive loop detected in template string: {{ service_down | default(1)
}}"}*
The last lines in the following two files are of relevance.
Here is one of the plays that includes