Exam 200-901 | Question id=6169 | Cisco Platforms and Development |
Refer to the exhibit.
- hosts: {{ router }}
gather_facts: true
connection: local
tasks
- ios_command
commands
- show run
provider: "{{ router_credentials }}"
register: config
- copy:
content: "{{ config.stdout[0] }}"
dest: "etc/ansible/configs/command_{{ router_hostname }}.txt
What is the effect of this Ansible playbook on an IOS router?
A. |
A new running configuration is pushed to the IOS router. | |
B. |
The start-up configuration of the IOS router is copied to a local folder. | |
C. |
The current running configuration of the IOS router is backed up. | |
D. |
A new start-up configuration is copied to the IOS router. |