Skip to content

Commit bc9cedf

Browse files
authored
Removing Device Credentials Fetch (#440)
2 parents 3d2aa1e + 8e9351b commit bc9cedf

4 files changed

Lines changed: 23 additions & 476 deletions

File tree

playbooks/inventory_playbook_config_generator.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,14 @@
3030
file_path: "tmp/catc_inventory_config.yml"
3131
file_mode: "overwrite"
3232

33-
# Example 3: Filter by device roles and device types
34-
- name: Generate inventory playbook config filtered by role and type
33+
# Example 3: Filter by device roles
34+
- name: Generate inventory playbook config filtered by role
3535
cisco.dnac.inventory_playbook_config_generator:
3636
file_path: "tmp/catc_filtered_inventory_config.yml"
3737
file_mode: "overwrite"
3838
config:
3939
global_filters:
4040
device_roles: ["ACCESS", "CORE"]
41-
device_types: ["NETWORK_DEVICE", "ACCESS_POINT"]
4241
device_identifier: "hostname"
4342

4443
# Example 4: Filter using explicit device identifiers
@@ -61,12 +60,12 @@
6160
global_filters:
6261
device_roles: ["DISTRIBUTION", "BORDER ROUTER"]
6362

64-
# Example 6: Filter by device type only and use serial number as identifier list
65-
- name: Generate inventory playbook config for compute and third-party devices
63+
# Example 6: Filter by role with serial number as identifier list
64+
- name: Generate inventory playbook config for unknown role devices
6665
cisco.dnac.inventory_playbook_config_generator:
67-
file_path: "tmp/catc_inventory_types_only.yml"
66+
file_path: "tmp/catc_inventory_roles_serial.yml"
6867
file_mode: "overwrite"
6968
config:
7069
global_filters:
71-
device_types: ["COMPUTE_DEVICE", "THIRD_PARTY_DEVICE"]
70+
device_roles: ["UNKNOWN"]
7271
device_identifier: "serial_number"

0 commit comments

Comments
 (0)