CCNP Ansible Automation • Set 2
CCNP Ansible Automation Practice Test 2 — 15 questions with explanations. Free, no signup.
An Ansible playbook uses the uri module to make a REST API call to Cisco DNA Center:
--- - hosts: localhost gather_facts: no tasks: - name: Get devices uri: url: "https://dna-center/api/v1/network-device" method: GET headers: X-Auth-Token: "{{ token }}" return_content: yes register: result
- debug: var: result.json
What is missing from this playbook?