This is the first thing that I tried, but it gave me an error about being unable to evaluate the conditional.
- GS On Fri, Nov 22, 2013 at 1:17 AM, C. Morgan Hamill <[email protected]>wrote: > Serge's response is fine but I believe you can also just do: > > > - { include: tasks/repo_server.yml, when: listen_ips } > > Python lists have a truthiness of False when empty. > -- > Morgan Hamill > > -- > 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. > -- 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.
