cisco / cisco.nxos / 7.0.0 / module / nxos_rollback Set a checkpoint or rollback to a checkpoint. | "added in version" 1.0.0 of cisco.nxos" Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)cisco.nxos.nxos_rollback (7.0.0) — module
Install with ansible-galaxy collection install cisco.nxos:==7.0.0
collections: - name: cisco.nxos version: 7.0.0
This module offers the ability to set a configuration checkpoint file or rollback to a configuration checkpoint file on Cisco NXOS switches.
- cisco.nxos.nxos_rollback: checkpoint_file: backup.cfg username: '{{ un }}' password: '{{ pwd }}' host: '{{ inventory_hostname }}'
- cisco.nxos.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. type: str checkpoint_file: description: - Name of checkpoint file to create. Mutually exclusive with rollback_to. type: str
filename: description: The filename of the checkpoint/rollback file. returned: success sample: backup.cfg type: str status: description: Which operation took place and whether it was successful. returned: success sample: rollback executed type: str