ansible / ansible.builtin / v2.7.16 / module / nxos_rollback Set a checkpoint or rollback to a checkpoint. | "added in version" 2.2 of ansible.builtin" Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele) preview | supported by networkansible.builtin.nxos_rollback (v2.7.16) — module
pip
Install with pip install ansible==2.7.16
This module offers the ability to set a configuration checkpoint file or rollback to a configuration checkpoint file on Cisco NXOS switches.
- nxos_rollback: checkpoint_file: backup.cfg username: "{{ un }}" password: "{{ pwd }}" host: "{{ inventory_hostname }}"
- nxos_rollback: rollback_to: backup.cfg username: "{{ un }}" password: "{{ pwd }}" host: "{{ inventory_hostname }}"
rollback_to: description: - Name of checkpoint file to rollback to. Mutually exclusive with checkpoint_file. checkpoint_file: description: - Name of checkpoint file to create. Mutually exclusive with rollback_to.
filename: description: The filename of the checkpoint/rollback file. returned: success sample: backup.cfg type: string status: description: Which operation took place and whether it was successful. returned: success sample: rollback executed type: string