Note
This plugin is part of the community.network collection.
To install it use: ansible-galaxy collection install community.network.
To use it in a playbook, specify: community.network.panos_check.
version 2.0.0
Consolidating code base.
Use https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks instead.
The below requirements are needed on the host that executes this module.
| Parameter | Choices/Defaults | Comments |
|---|---|---|
| interval string | Default: 0 | time waited between checks |
| ip_address string / required | IP address (or hostname) of PAN-OS device. | |
| password string / required | Password for authentication. | |
| timeout string | Default: 0 | timeout of API calls |
| username string | Default: "admin" | Username for authentication. |
# 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
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/network/panos_check_module.html