ansible 1.7.2
My play:
- name: Configure firewall
include: firewall.yml
when: "{{pg_host}} != localhost"
gets me:
TASK: [postgres | Check if postgres is already allowed via IPv4]
**************
fatal: [jedis-test] => error while evaluating conditional: localhost !=
localhost
This looks like a case where ansible could maybe be a little more verbose?
The line that's failing is the first play in firewall.yml I'm guessing
I'm just not clear on how to run another playbook if my variable is not
equal to localhost.
--
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/a32e4942-ac2a-48c0-a89f-4f98308f5574%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.