Hello.
This is possible to add more than 2 conditions like this?
- shell: ifdown {{ item.item.device }}; ifup {{ item.item.device }}
with_items: ether_result.results
when: ether_result is defined and and item.changed and
ether_int_status|failed
ether_result and ether_int_status are registered variables.
--
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/9d1e3e8e-b758-42ce-bcd3-db617e0b52df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.