Skip to content

Commit 7b0c886

Browse files
committed
Changes in playbooks
1 parent 343e369 commit 7b0c886

16 files changed

Lines changed: 360 additions & 360 deletions

playbooks/accesspoint_location_workflow_manager.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
- vars/credentials.yml
88
tasks:
99
- name: Create access point location on Cisco Catalyst Center
10-
cisco.dnac.accesspoint_location_workflow_manager:
11-
dnac_host: "{{ dnac_host }}"
12-
dnac_username: "{{ dnac_username }}"
13-
dnac_password: "{{ dnac_password }}"
14-
dnac_verify: "{{ dnac_verify }}"
15-
dnac_port: "{{ dnac_port }}"
16-
dnac_version: "{{ dnac_version }}"
17-
dnac_debug: "{{ dnac_debug }}"
18-
dnac_log: true
19-
dnac_log_level: DEBUG
10+
cisco.catalystcenter.accesspoint_location_workflow_manager:
11+
catalystcenter_host: "{{ catalystcenter_host }}"
12+
catalystcenter_username: "{{ catalystcenter_username }}"
13+
catalystcenter_password: "{{ catalystcenter_password }}"
14+
catalystcenter_verify: "{{ catalystcenter_verify }}"
15+
catalystcenter_port: "{{ catalystcenter_port }}"
16+
catalystcenter_version: "{{ catalystcenter_version }}"
17+
catalystcenter_debug: "{{ catalystcenter_debug }}"
18+
catalystcenter_log: true
19+
catalystcenter_log_level: DEBUG
2020
config_verify: true
21-
dnac_api_task_timeout: 1000
22-
dnac_task_poll_interval: 1
21+
catalystcenter_api_task_timeout: 1000
22+
catalystcenter_task_poll_interval: 1
2323
state: merged # Options: merged, deleted
2424
config: # Minimum 1; Maximum 100 config hierarchy
2525
- floor_site_hierarchy: "Global/USA/SAN JOSE/SJ_BLD23/FLOOR1"

playbooks/application_policy_workflow_manager.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
---
2-
- name: Configure device credentials on Cisco Catalyst Center
2+
- name: Configure application policy on Cisco Catalyst Center
33
hosts: localhost
44
vars_files:
55
- vars/credentials.yml
66
connection: local
77
gather_facts: false
88
tasks:
99
- name: Create application policy
10-
cisco.dnac.application_policy_workflow_manager:
11-
dnac_host: "{{ dnac_host }}"
12-
dnac_username: "{{ dnac_username }}"
13-
dnac_password: "{{ dnac_password }}"
14-
dnac_verify: "{{ dnac_verify }}"
15-
dnac_port: "{{ dnac_port }}"
16-
dnac_version: "{{ dnac_version }}"
17-
dnac_debug: "{{ dnac_debug }}"
18-
dnac_log: true
19-
dnac_log_level: DEBUG
10+
cisco.catalystcenter.application_policy_workflow_manager:
11+
catalystcenter_host: "{{ catalystcenter_host }}"
12+
catalystcenter_username: "{{ catalystcenter_username }}"
13+
catalystcenter_password: "{{ catalystcenter_password }}"
14+
catalystcenter_verify: "{{ catalystcenter_verify }}"
15+
catalystcenter_port: "{{ catalystcenter_port }}"
16+
catalystcenter_version: "{{ catalystcenter_version }}"
17+
catalystcenter_debug: "{{ catalystcenter_debug }}"
18+
catalystcenter_log: true
19+
catalystcenter_log_level: DEBUG
2020
config_verify: true
21-
dnac_api_task_timeout: 1000
22-
dnac_task_poll_interval: 1
21+
catalystcenter_api_task_timeout: 1000
22+
catalystcenter_task_poll_interval: 1
2323
state: merged
2424
config:
2525
- application_policy:

playbooks/assurance_device_health_score_settings_workflow_manager.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
gather_facts: false
88
tasks:
99
- name: Update assurance healthscore settings KPI's
10-
cisco.dnac.assurance_device_health_score_settings_workflow_manager:
11-
dnac_host: "{{ dnac_host }}"
12-
dnac_username: "{{ dnac_username }}"
13-
dnac_password: "{{ dnac_password }}"
14-
dnac_verify: "{{ dnac_verify }}"
15-
dnac_port: "{{ dnac_port }}"
16-
dnac_version: "{{ dnac_version }}"
17-
dnac_debug: "{{ dnac_debug }}"
18-
dnac_log: true
19-
dnac_log_level: DEBUG
20-
dnac_api_task_timeout: 1000
21-
dnac_task_poll_interval: 1
10+
cisco.catalystcenter.assurance_device_health_score_settings_workflow_manager:
11+
catalystcenter_host: "{{ catalystcenter_host }}"
12+
catalystcenter_username: "{{ catalystcenter_username }}"
13+
catalystcenter_password: "{{ catalystcenter_password }}"
14+
catalystcenter_verify: "{{ catalystcenter_verify }}"
15+
catalystcenter_port: "{{ catalystcenter_port }}"
16+
catalystcenter_version: "{{ catalystcenter_version }}"
17+
catalystcenter_debug: "{{ catalystcenter_debug }}"
18+
catalystcenter_log: true
19+
catalystcenter_log_level: DEBUG
20+
catalystcenter_api_task_timeout: 1000
21+
catalystcenter_task_poll_interval: 1
2222
state: merged
2323
config_verify: true
2424
config:

playbooks/assurance_icap_settings_workflow_manager.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
gather_facts: false
88
tasks:
99
- name: Configure ICAP Assurance Settings
10-
cisco.dnac.assurance_icap_settings_workflow_manager:
11-
dnac_host: "{{ dnac_host }}"
12-
dnac_username: "{{ dnac_username }}"
13-
dnac_password: "{{ dnac_password }}"
14-
dnac_verify: "{{ dnac_verify }}"
15-
dnac_port: "{{ dnac_port }}"
16-
dnac_version: "{{ dnac_version }}"
17-
dnac_debug: "{{ dnac_debug }}"
18-
dnac_log: true
19-
dnac_log_level: DEBUG
20-
dnac_api_task_timeout: 1000
21-
dnac_task_poll_interval: 1
10+
cisco.catalystcenter.assurance_icap_settings_workflow_manager:
11+
catalystcenter_host: "{{ catalystcenter_host }}"
12+
catalystcenter_username: "{{ catalystcenter_username }}"
13+
catalystcenter_password: "{{ catalystcenter_password }}"
14+
catalystcenter_verify: "{{ catalystcenter_verify }}"
15+
catalystcenter_port: "{{ catalystcenter_port }}"
16+
catalystcenter_version: "{{ catalystcenter_version }}"
17+
catalystcenter_debug: "{{ catalystcenter_debug }}"
18+
catalystcenter_log: true
19+
catalystcenter_log_level: DEBUG
20+
catalystcenter_api_task_timeout: 1000
21+
catalystcenter_task_poll_interval: 1
2222
state: merged
2323
config_verify: true
2424
config:

playbooks/assurance_issue_workflow_manager.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
gather_facts: false
88
tasks:
99
- name: Configure assurance issue settings
10-
cisco.dnac.assurance_issue_workflow_manager:
11-
dnac_host: "{{ dnac_host }}"
12-
dnac_username: "{{ dnac_username }}"
13-
dnac_password: "{{ dnac_password }}"
14-
dnac_verify: "{{ dnac_verify }}"
15-
dnac_port: "{{ dnac_port }}"
16-
dnac_version: "{{ dnac_version }}"
17-
dnac_debug: "{{ dnac_debug }}"
18-
dnac_log: true
19-
dnac_log_level: DEBUG
20-
dnac_api_task_timeout: 1000
21-
dnac_task_poll_interval: 1
10+
cisco.catalystcenter.assurance_issue_workflow_manager:
11+
catalystcenter_host: "{{ catalystcenter_host }}"
12+
catalystcenter_username: "{{ catalystcenter_username }}"
13+
catalystcenter_password: "{{ catalystcenter_password }}"
14+
catalystcenter_verify: "{{ catalystcenter_verify }}"
15+
catalystcenter_port: "{{ catalystcenter_port }}"
16+
catalystcenter_version: "{{ catalystcenter_version }}"
17+
catalystcenter_debug: "{{ catalystcenter_debug }}"
18+
catalystcenter_log: true
19+
catalystcenter_log_level: DEBUG
20+
catalystcenter_api_task_timeout: 1000
21+
catalystcenter_task_poll_interval: 1
2222
state: merged
2323
config_verify: true
2424
config:

playbooks/backup_and_restore_workflow_manager.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@
99
- "backup_secrets.yml"
1010

1111
vars:
12-
dnac_login: &dnac_login
13-
dnac_host: "{{ dnac_host }}"
14-
dnac_username: "{{ dnac_username }}"
15-
dnac_password: "{{ dnac_password }}"
16-
dnac_verify: "{{ dnac_verify }}"
17-
dnac_port: "{{ dnac_port }}"
18-
dnac_version: "{{ dnac_version }}"
19-
dnac_debug: "{{ dnac_debug }}"
20-
dnac_log: true
21-
dnac_log_level: "DEBUG"
12+
catalystcenter_login: &catalystcenter_login
13+
catalystcenter_host: "{{ catalystcenter_host }}"
14+
catalystcenter_username: "{{ catalystcenter_username }}"
15+
catalystcenter_password: "{{ catalystcenter_password }}"
16+
catalystcenter_verify: "{{ catalystcenter_verify }}"
17+
catalystcenter_port: "{{ catalystcenter_port }}"
18+
catalystcenter_version: "{{ catalystcenter_version }}"
19+
catalystcenter_debug: "{{ catalystcenter_debug }}"
20+
catalystcenter_log: true
21+
catalystcenter_log_level: "DEBUG"
2222
config_verify: true
23-
dnac_api_task_timeout: 4000
24-
dnac_task_poll_interval: 1
23+
catalystcenter_api_task_timeout: 4000
24+
catalystcenter_task_poll_interval: 1
2525

2626
tasks:
2727
- name: Configure NFS server for secure backup storage connectivity
28-
cisco.dnac.backup_and_restore_workflow_manager:
29-
<<: *dnac_login
28+
cisco.catalystcenter.backup_and_restore_workflow_manager:
29+
<<: *catalystcenter_login
3030
state: merged
3131
config:
3232
- nfs_configuration:
@@ -38,8 +38,8 @@
3838
tags: nfs_configuration
3939

4040
- name: Configure backup target with encryption and data retention policies
41-
cisco.dnac.backup_and_restore_workflow_manager:
42-
<<: *dnac_login
41+
cisco.catalystcenter.backup_and_restore_workflow_manager:
42+
<<: *catalystcenter_login
4343
state: merged
4444
config:
4545
- backup_storage_configuration:
@@ -55,8 +55,8 @@
5555
tags: backup_configuration
5656

5757
- name: Create backup with name and scope specifications
58-
cisco.dnac.backup_and_restore_workflow_manager:
59-
<<: *dnac_login
58+
cisco.catalystcenter.backup_and_restore_workflow_manager:
59+
<<: *catalystcenter_login
6060
state: merged
6161
config:
6262
- backup:
@@ -66,8 +66,8 @@
6666
tags: backup_creation
6767

6868
- name: Restore backup
69-
cisco.dnac.backup_and_restore_workflow_manager:
70-
<<: *dnac_login
69+
cisco.catalystcenter.backup_and_restore_workflow_manager:
70+
<<: *catalystcenter_login
7171
state: merged
7272
config:
7373
- restore_operations:
@@ -77,8 +77,8 @@
7777
tags: restore_backup
7878

7979
- name: Delete NFS configuration from backup infrastructure
80-
cisco.dnac.backup_and_restore_workflow_manager:
81-
<<: *dnac_login
80+
cisco.catalystcenter.backup_and_restore_workflow_manager:
81+
<<: *catalystcenter_login
8282
state: deleted
8383
config:
8484
- nfs_configuration:
@@ -87,8 +87,8 @@
8787
tags: delete_nfs_configuration
8888

8989
- name: Delete backups for backup lifecycle management
90-
cisco.dnac.backup_and_restore_workflow_manager:
91-
<<: *dnac_login
90+
cisco.catalystcenter.backup_and_restore_workflow_manager:
91+
<<: *catalystcenter_login
9292
state: deleted
9393
config:
9494
- backup:

playbooks/fabric_devices_info_workflow_manager.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
- vars/credentials.yml
77
tasks:
88
- name: Get Fabric devices info from Cisco Catalyst Center
9-
cisco.dnac.fabric_devices_info_workflow_manager:
10-
dnac_host: "{{ dnac_host }}"
11-
dnac_username: "{{ dnac_username }}"
12-
dnac_password: "{{ dnac_password }}"
13-
dnac_verify: "{{ dnac_verify }}"
14-
dnac_port: "{{ dnac_port }}"
15-
dnac_version: "{{ dnac_version }}"
16-
dnac_debug: "{{ dnac_debug }}"
17-
dnac_log: true
18-
dnac_log_level: DEBUG
9+
cisco.catalystcenter.fabric_devices_info_workflow_manager:
10+
catalystcenter_host: "{{ catalystcenter_host }}"
11+
catalystcenter_username: "{{ catalystcenter_username }}"
12+
catalystcenter_password: "{{ catalystcenter_password }}"
13+
catalystcenter_verify: "{{ catalystcenter_verify }}"
14+
catalystcenter_port: "{{ catalystcenter_port }}"
15+
catalystcenter_version: "{{ catalystcenter_version }}"
16+
catalystcenter_debug: "{{ catalystcenter_debug }}"
17+
catalystcenter_log: true
18+
catalystcenter_log_level: DEBUG
1919
config_verify: true
20-
dnac_api_task_timeout: 1000
21-
dnac_task_poll_interval: 1
20+
catalystcenter_api_task_timeout: 1000
21+
catalystcenter_task_poll_interval: 1
2222
state: gathered
2323
config:
2424
- fabric_devices:

playbooks/network_devices_info_workflow_manager.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
- vars/credentials.yml
77
tasks:
88
- name: Get Network Devices Info on Cisco Catalyst Center
9-
cisco.dnac.network_devices_info_workflow_manager:
10-
dnac_host: "{{ dnac_host }}"
11-
dnac_username: "{{ dnac_username }}"
12-
dnac_password: "{{ dnac_password }}"
13-
dnac_verify: "{{ dnac_verify }}"
14-
dnac_port: "{{ dnac_port }}"
15-
dnac_version: "{{ dnac_version }}"
16-
dnac_debug: "{{ dnac_debug }}"
17-
dnac_log: true
18-
dnac_log_level: DEBUG
9+
cisco.catalystcenter.network_devices_info_workflow_manager:
10+
catalystcenter_host: "{{ catalystcenter_host }}"
11+
catalystcenter_username: "{{ catalystcenter_username }}"
12+
catalystcenter_password: "{{ catalystcenter_password }}"
13+
catalystcenter_verify: "{{ catalystcenter_verify }}"
14+
catalystcenter_port: "{{ catalystcenter_port }}"
15+
catalystcenter_version: "{{ catalystcenter_version }}"
16+
catalystcenter_debug: "{{ catalystcenter_debug }}"
17+
catalystcenter_log: true
18+
catalystcenter_log_level: DEBUG
1919
config_verify: false
20-
dnac_api_task_timeout: 1000
21-
dnac_task_poll_interval: 1
20+
catalystcenter_api_task_timeout: 1000
21+
catalystcenter_task_poll_interval: 1
2222
state: gathered
2323
config:
2424
- network_devices:
@@ -52,7 +52,7 @@
5252
- device_stack_info
5353
- device_link_mismatch_info
5454
output_file_info:
55-
file_path: /Users/priyadharshini/Downloads/info
55+
file_path: "{{ output_dir | default(playbook_dir + '/output') }}"
5656
file_format: json
5757
file_mode: w
5858
timestamp: true

playbooks/network_profile_switching_workflow_manager.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
- vars/credentials.yml
88
tasks:
99
- name: Create network profile for switch
10-
cisco.dnac.network_profile_switching_workflow_manager:
11-
dnac_host: "{{ dnac_host }}"
12-
dnac_username: "{{ dnac_username }}"
13-
dnac_password: "{{ dnac_password }}"
14-
dnac_verify: "{{ dnac_verify }}"
15-
dnac_port: "{{ dnac_port }}"
16-
dnac_version: "{{ dnac_version }}"
17-
dnac_debug: "{{ dnac_debug }}"
18-
dnac_log: true
19-
dnac_log_level: DEBUG
10+
cisco.catalystcenter.network_profile_switching_workflow_manager:
11+
catalystcenter_host: "{{ catalystcenter_host }}"
12+
catalystcenter_username: "{{ catalystcenter_username }}"
13+
catalystcenter_password: "{{ catalystcenter_password }}"
14+
catalystcenter_verify: "{{ catalystcenter_verify }}"
15+
catalystcenter_port: "{{ catalystcenter_port }}"
16+
catalystcenter_version: "{{ catalystcenter_version }}"
17+
catalystcenter_debug: "{{ catalystcenter_debug }}"
18+
catalystcenter_log: true
19+
catalystcenter_log_level: DEBUG
2020
config_verify: true
21-
dnac_api_task_timeout: 1000
22-
dnac_task_poll_interval: 1
21+
catalystcenter_api_task_timeout: 1000
22+
catalystcenter_task_poll_interval: 1
2323
state: merged
2424
config:
2525
- profile_name: Campus_Access_Switch

playbooks/network_profile_wireless_workflow_manager.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
- vars/credentials.yml
88
tasks:
99
- name: Create network profile for wireless
10-
cisco.dnac.network_profile_wireless_workflow_manager:
11-
dnac_host: "{{ dnac_host }}"
12-
dnac_username: "{{ dnac_username }}"
13-
dnac_password: "{{ dnac_password }}"
14-
dnac_verify: "{{ dnac_verify }}"
15-
dnac_port: "{{ dnac_port }}"
16-
dnac_version: "{{ dnac_version }}"
17-
dnac_debug: "{{ dnac_debug }}"
18-
dnac_log: true
19-
dnac_log_level: DEBUG
10+
cisco.catalystcenter.network_profile_wireless_workflow_manager:
11+
catalystcenter_host: "{{ catalystcenter_host }}"
12+
catalystcenter_username: "{{ catalystcenter_username }}"
13+
catalystcenter_password: "{{ catalystcenter_password }}"
14+
catalystcenter_verify: "{{ catalystcenter_verify }}"
15+
catalystcenter_port: "{{ catalystcenter_port }}"
16+
catalystcenter_version: "{{ catalystcenter_version }}"
17+
catalystcenter_debug: "{{ catalystcenter_debug }}"
18+
catalystcenter_log: true
19+
catalystcenter_log_level: DEBUG
2020
config_verify: true
21-
dnac_api_task_timeout: 1000
22-
dnac_task_poll_interval: 1
21+
catalystcenter_api_task_timeout: 1000
22+
catalystcenter_task_poll_interval: 1
2323
state: merged
2424
config:
2525
- profile_name: Campus_Wireless_Profile

0 commit comments

Comments
 (0)