I want to skip a ansible playbook task if it is taking more time to execute than a specified limit
egg: I need to skip the execution of a find command task, if it is not giving response in 5 minutes.
How can do it, Could someone help on this?
I want to skip a ansible playbook task if it is taking more time to execute than a specified limit
egg: I need to skip the execution of a find command task, if it is not giving response in 5 minutes.
How can do it, Could someone help on this?
You could use async and poll
https://docs.ansible.com/ansible/latest/playbooks_async.html
Thanks Kai