ansible / ansible.builtin / v2.5.12 / module / panos_admin Add or modify PAN-OS user accounts password. | "added in version" 2.3 of ansible.builtin" Authors: Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer) preview | supported by communityansible.builtin.panos_admin (v2.5.12) — module
pip
Install with pip install ansible==2.5.12
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 panos_admin: ip_address: "192.168.1.1" password: "admin" admin_username: admin admin_password: "badpassword" commit: False
role: default: null description: - role for admin user required: false commit: default: true description: - commit if changed 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 admin_password: description: - password for admin user required: true admin_username: default: admin description: - username for admin user required: false
status: description: success status returned: success sample: okey dokey type: string