Deprecated

Removed in 2.12

i

Reason:Consolidating code base. | Alternative:Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.

community.general.panos_admin (0.1.1) — module

Add or modify PAN-OS user accounts password.

Authors: Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)

deprecated | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

PanOS module that allows changes to the user account passwords by doing API calls to the Firewall using pan-api as the protocol.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# 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

Inputs

    
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

Outputs

status:
  description: success status
  returned: success
  sample: okey dokey
  type: str