Ansible Pause Playbook Execution
Sometimes, we need to pause the execution of an Ansible Playbook to allow for manual intervention or to give users time to perform necessary actions. The ansible.builtin.pause module is useful in such scenarios. Below are examples of how to use it effectively.
Example 1: Prompt the User to Close Applications
Example 2: Pause for a Fixed Duration
Example 3: Pause and Await User Confirmation
Reference: Pause Module - Ansible Documentation
Last updated