I am trying to check memory consumption of four machines and any of the machines memory consumption is less than 10 GB I want to restart services on all machines. I have used or operator in when condition, I am able to restart the services only on the ones that have memory less than 10 GB others get skipped. My requirement is if any of the hosts memory goes down below 10GB I want services to be restarted on all machines not just on machines that have memory below 10GB. Below is the Ansible playbook: |
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/be9b8961-8013-444f-8c99-1939d25b6757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.