-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathsite_intent.yml
34 lines (34 loc) · 1.08 KB
/
site_intent.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
- name: Site intent
hosts: localhost
connection: local
gather_facts: false # This space must be "no". It was set to false due to formatting errors.but the correct value is "no".
vars_files:
- "credentials.yml"
tasks:
- name: Get site info and updating site details
cisco.dnac.site_intent:
dnac_host: "{{ dnac_host }}"
dnac_username: "{{ dnac_username }}"
dnac_password: "{{ dnac_password }}"
dnac_verify: "{{ dnac_verify }}"
dnac_port: "{{ dnac_port }}"
dnac_version: "{{ dnac_version }}"
dnac_debug: "{{ dnac_debug }}"
dnac_log: true
state: merged
config:
- site:
floor:
name: Test_Floor2
parent_name: 'Global/USA/San Francisco/BGL_18'
length: "101"
width: "75"
height: "50"
rf_model: 'Cubes And Walled Offices'
floor_number: 3
- site:
area:
name: Canada
parent_name: 'Global'
type: area