September 2018
Beginner to intermediate
214 pages
5h 53m
English
These two modules allow for an easier transfer of configuration files between the control host and multiple network devices. They can be handy for backup or centralized configuration. These modules rely on the functionality of the scp command to carry out the transfer. An example is shown in the following playbook:
---- name: Network Module running hosts: ciscosw tasks: - name: backup a running configuration for a cisco switch net_get: src: running_cfg_{{ inventory_hostname }}.txt
Read now
Unlock full access