Exam 200-901 | Question id=6171 | Cisco Platforms and Development |
Refer to the exhibit.
- hosts: CISCO_ROUTER_01
gather_facts: true
connection: network_cli
tasks:
- name: show conf
ios_command:
commands:
- show running-config
register: config
- name: save output to /etc/ansible/configs
copy:
content: "{{ config.stdout[0] }}"
dest: "etc/ansible/configs/command_{{ router_hostname }}.txt
What is the result of executing this Ansible playbook?
A. |
The playbook copies a new start-up configuration to CISCO_ROUTER_01 | |
B. |
The playbook copies a new running configuration to CISCO_ROUTER_01 | |
C. |
The playbook backs up the running configuration of CISCO_ROUTER_01 | |
D. |
The playbook backs up the start-up configuration of CISCO_ROUTER_01 |