ansible / ansible.builtin / v2.9.0 / module / nxos_gir_profile_management Create a maintenance-mode or normal-mode profile for GIR. | "added in version" 2.2 of ansible.builtin" Authors: Gabriele Gerbino (@GGabriele) preview | supported by networkansible.builtin.nxos_gir_profile_management (v2.9.0) — module
pip
Install with pip install ansible==2.9.0
Manage a maintenance-mode or normal-mode profile with configuration commands that can be applied during graceful removal or graceful insertion.
# Create a maintenance-mode profile - nxos_gir_profile_management: mode: maintenance commands: - router eigrp 11 - isolate
# Remove the maintenance-mode profile - nxos_gir_profile_management: mode: maintenance state: absent
mode: choices: - maintenance - normal description: - Configure the profile as Maintenance or Normal mode. required: true state: choices: - present - absent default: present description: - Specify desired state of the resource. commands: description: - List of commands to be included into the profile.
changed: description: check to see if a change was made on the device returned: always sample: true type: bool end_state: description: list of profile entries after module execution. returned: verbose mode sample: - router bgp 65535 - isolate - router eigrp 10 - isolate - diagnostic bootup level complete - router eigrp 11 - isolate type: list existing: description: list of existing profile commands. returned: verbose mode sample: - router bgp 65535 - isolate - router eigrp 10 - isolate - diagnostic bootup level complete type: list proposed: description: list of commands passed into module. returned: verbose mode sample: - router eigrp 11 - isolate type: list updates: description: commands sent to the device returned: always sample: - configure maintenance profile maintenance-mode - router eigrp 11 - isolate type: list