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 backs up the running configuration of CISCO_ROUTER_01.
C.
The playbook backs up the start-up configuration of C1SCO_ROUTER_01.
D.
The playbook copies a new running configuration to CISCO_ROUTER_01.
The Answer Is:
B
This question includes an explanation.
Explanation:
The Ansible playbook provided in the exhibit performs the following tasks:
Uses the ios_command module to issue the show conf command on the CISCO_ROUTER_01 device.
Registers the output of the command into the variable config.
Copies the content of config.stdout[0] (the first line of the command output) to a file in /etc/ansible/configs/.
This sequence of tasks effectively backs up the running configuration of the router by capturing the current configuration output and saving it to a file.
References:
Ansible ios_command Module
Ansible Playbook Basics
200-901 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"