Skip to content

Hints for Mission 1

Hint 1: Example playbook
---
- name: Create area with your pod name
  hosts: localhost
  connection: local
  gather_facts: false

# Write the task to add a new area in Catalyst Center according to the lab guide

  tasks:
    - name: Create a new area site
      cisco.dnac.site_workflow_manager:
        dnac_host: 198.18.129.100
        dnac_username: # YOUR POD USER
        dnac_password: # YOUR POD PASSWORD
        dnac_verify: false
        dnac_port: 443
        dnac_version: 2.3.7.6
        dnac_debug: false
        dnac_log_level: WARNING
        dnac_log: true
        state: merged
        config:
        - site:
            area:
              name: # YOUR POD NAME, e.g. pod1
              parent_name: Global
          site_type: area