summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/ise/playbooks/endpoint_group.yml
blob: b8883d1cd0c264d86b6604f75ba6d66621a01625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- hosts: ise_servers
  gather_facts: false
  tasks:
    - name: Create endpoint group
      cisco.ise.endpoint_group:
        ise_hostname: "{{ ise_hostname }}"
        ise_username: "{{ ise_username }}"
        ise_password: "{{ ise_password }}"
        ise_verify: "{{ ise_verify }}"
        name: Sony-Device-X
        description: "Identity Group for Profile: Sony-Device-X"
      register: endpoint_group

    - name: Print endpoint group
      ansible.builtin.debug:
        var: endpoint_group