community.network.panos_check – check if PAN-OS device is ready for configuration¶
This plugin is part of the community.network collection (version 1.3.2).
To install it use:
ansible-galaxy collection install community.network.
To use it in a playbook, specify:
- Removed in
Consolidating code base.
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 community.network.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 community.network.panos_check: ip_address: "192.168.1.1" password: "admin" register: result until: result is not failed retries: 10 delay: 30