Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions playbooks/brownfield_provision_playbook_generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
- name: Configure device credentials on Cisco Catalyst Center
hosts: localhost
connection: local
gather_facts: no # Fixed

Check failure on line 5 in playbooks/brownfield_provision_playbook_generator.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[truthy]

Truthy value should be one of \[false, true]
vars_files:
- "credentials.yml"
tasks:
- name: Generate provision workflow playbook from brownfield devices
cisco.dnac.brownfield_provision_playbook_generator:
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
dnac_log_level: DEBUG
config_verify: true
dnac_api_task_timeout: 1000
dnac_task_poll_interval: 1
state: merged
config:
- file_path: "/tmp/brownfield_provision_workflow_playbook.yml"
component_specific_filters:
components_list: ["provisioned_devices"]
provisioned_devices:
- management_ip_address: 204.1.2.5

Check failure on line 29 in playbooks/brownfield_provision_playbook_generator.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[new-line-at-end-of-file]

No new line character at the end of file
Loading
Loading