QuestionQ81
Infrastructure and AutomationDrag the code options onto the missing locations in the snippet to complete this Ansible playbook. Not every option is used.
Drag & Drop
name-server
208.67.222.222
dns_servers
dns-address
--- - hosts: ios gather_facts: no vars: dns_servers: - ip name-server - ip name-server 208.67.220.220 tasks: - name: set name-server commands with_items: "{{ }}" ios_config: lines: - "{{item}}" register: set_dns
Community Discussion