ansible / ansible.builtin / v2.6.0 / module / panos_loadcfg load configuration on PAN-OS device | "added in version" 2.3 of ansible.builtin" Authors: Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer) preview | supported by communityansible.builtin.panos_loadcfg (v2.6.0) — module
pip
Install with pip install ansible==2.6.0
Load configuration on PAN-OS device
# Import and load config file from URL - name: import configuration panos_import: ip_address: "192.168.1.1" password: "admin" url: "{{ConfigURL}}" category: "configuration" register: result
- name: load configuration panos_loadcfg: ip_address: "192.168.1.1" password: "admin" file: "{{result.filename}}"
file: description: - configuration file to load 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