ansible / ansible.builtin / v2.4.0.0-1 / module / panos_check check if PAN-OS device is ready for configuration | "added in version" 2.3 of ansible.builtin" Authors: Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer) preview | supported by communityansible.builtin.panos_check (v2.4.0.0-1) — module
pip
Install with pip install ansible==2.4.0.0.post1
Check if PAN-OS device is ready for being configured (no pending jobs).
The check could be done once or multiple times until the device is ready.
# single check on 192.168.1.1 with credentials admin/admin - name: check if ready panos_check: ip_address: "192.168.1.1" password: "admin"
# check for 10 times, every 30 seconds, if device 192.168.1.1 # is ready, using credentials admin/admin - name: wait for reboot panos_check: ip_address: "192.168.1.1" password: "admin" register: result until: not result|failed retries: 10 delay: 30
timeout: default: '0' description: - timeout of API calls required: false interval: default: '0' description: - time waited between checks required: false password: description: - password for authentication required: true username: default: admin description: - username for authentication required: false ip_address: description: - IP address (or hostname) of PAN-OS device required: true