ansible.builtin.panos_admin (v2.4.4.0-1) — module

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 community

Install Ansible via pip

Install with pip install ansible==2.4.4.0.post1

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:
    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

Outputs

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