Files
toallab-automation/roles/ansible-network.config_manager/docs/save.md
Patrick Toal 6e2205a046 Adding Netbox
2019-05-06 00:34:45 -04:00

900 B

Save active configuration to startup

For network platforms that support saving the current active (running) configuration to non-volatile storage, the Config Manager save function can be invoked. This function will issue the save command on the target platform regardless of whether or not the active configuration has changed.

If the target platform does not support the save function, then it should simply return a NOOP.

How to save the active configuration

To save the current active configuration to the startup configuration simply invoke the save function on the target device. There are no additional configuration options for this function.

Below is an example of calling the save_config function from the playbook.

- hosts: network
  gather_facts: false

  roles:
    - name ansible-network.arista_eos
      function: save

Arguments

None

Notes

None