QuestionQ27

Device-Level Network Automation

Question Image

Based on the exhibit, NTP server 10.1.1.20 needs to be configured on the target Cisco IOS XE device without using authentication and without logging. Which state value should be added on a new line at the end of the Ansible task?

Explanation

The ios_ntp Ansible module manages core NTP configuration on Cisco IOS devices, and its 'state' parameter accepts 'present' (to ensure the specified NTP configuration, such as server, logging, and auth settings, is applied) or 'absent' (to remove it). Since the task's goal is to configure (apply) the NTP server 10.1.1.20 with logging and auth disabled, 'state: present' is required — the other listed values ('started', 'installed', 'true') are not valid options for this module and instead belong to unrelated Ansible module types like service or package management.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!