community / community.network / 1.3.7 / module / panos_admin
Removed in 2.0.0
Reason:Consolidating code base. | Alternative:Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
Add or modify PAN-OS user accounts password.
Authors: Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)
Install with ansible-galaxy collection install community.network:==1.3.7
collections: - name: community.network version: 1.3.7
PanOS module that allows changes to the user account passwords by doing API calls to the Firewall using pan-api as the protocol.
# Set the password of user admin to "badpassword" # Doesn't commit the candidate config - name: Set admin password community.network.panos_admin: ip_address: "192.168.1.1" password: "admin" admin_username: admin admin_password: "badpassword" commit: False
role: description: - role for admin user commit: default: 'yes' description: - commit if changed type: bool password: description: - Password for authentication. required: true type: str username: default: admin description: - Username for authentication. type: str ip_address: description: - IP address (or hostname) of PAN-OS device. required: true type: str admin_password: description: - password for admin user required: true admin_username: default: admin description: - username for admin user
status: description: success status returned: success sample: okey dokey type: str