community.network.sros_rollback – Configure Nokia SR OS rollback¶
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.sros_rollback
.
Synopsis¶
Configure the rollback feature on remote Nokia devices running the SR OS operating system. this module provides a stateful implementation for managing the configuration of the rollback feature
Parameters¶
Notes¶
Note
For more information on using Ansible to manage Nokia SR OS Network devices see https://www.ansible.com/ansible-nokia.
Examples¶
# Note: examples below use the following provider dict to handle
# transport and authentication to the node.
---
vars:
cli:
host: "{{ inventory_hostname }}"
username: admin
password: admin
transport: cli
---
- name: Configure rollback location
community.network.sros_rollback:
rollback_location: "cb3:/ansible"
provider: "{{ cli }}"
- name: Remove all rollback configuration
community.network.sros_rollback:
state: absent
provider: "{{ cli }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
updates
list
/ elements=string
|
always |
The set of commands that will be pushed to the remote device
Sample:
['...', '...']
|
Authors¶
Peter Sprygada (@privateip)