Hi,
My inventory script returns the correct JSON for a host including an empty
list for 'listen_ips', i.e:
{ "listen_ips": [] }
I want to include a task only if the listen_ips list contains at least one
element. This doesn't work:
- { include: tasks/repo_server.yml, when: listen_ips > 0 }
Any ideas?
Cheers
GS
--
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.