New in version 2.3.
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| interval | no | 0 | time waited between checks | |
| ip_address | yes | IP address (or hostname) of PAN-OS device | ||
| password | yes | password for authentication | ||
| timeout | no | 0 | timeout of API calls | |
| username | no | admin | username for authentication |
# 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
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/panos_check_module.html