community.network.aireos_config – Manage Cisco WLC configurations¶
Note
This plugin is part of the community.network collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.aireos_config
.
Synopsis¶
AireOS does not use a block indent file syntax, so there are no sections or parents. This module provides an implementation for working with AireOS configurations in a deterministic way.
Parameters¶
Examples¶
- name: Configure configuration
community.network.aireos_config:
lines: sysname testDevice
- name: Diff the running-config against a provided config
community.network.aireos_config:
diff_against: intended
intended: "{{ lookup('file', 'master.cfg') }}"
- name: Load new acl into device
community.network.aireos_config:
lines:
- acl create testACL
- acl rule protocol testACL 1 any
- acl rule direction testACL 3 in
before: acl delete testACL
- name: Configurable backup path
community.network.aireos_config:
backup: yes
lines: sysname testDevice
backup_options:
filename: backup.cfg
dir_path: /home/user
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
James Mighion (@jmighion)