summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/dnac/playbooks/template.yml
blob: 6aa9b27bf672d4701038ebd1709272a80f646648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- hosts: dnac_servers
  vars_files:
    - credentials.yml
  gather_facts: false
  tasks:
    - name: Create an configuration_template_project
      cisco.dnac.configuration_template_project:
        dnac_host: "{{ dnac_host }}"
        dnac_username: "{{ dnac_username }}"
        dnac_password: "{{ dnac_password }}"
        dnac_verify: "{{ dnac_verify }}"
        dnac_debug: "{{ dnac_debug }}"
        state: present
        name: Cloud Test Template 5
      register: configuration_template_project_result

    - name: Show new configuration_template_project
      ansible.builtin.debug:
        msg: "{{ configuration_template_project_result }}"
      when:
        - configuration_template_project_result is defined