blob: 8540996c94999f58bb8d3f20ddfd7d9b275d2778 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---
- hosts: ise_servers
gather_facts: false
tasks:
- name: Get All
cisco.ise.identity_group_info:
ise_hostname: "{{ ise_hostname }}"
ise_username: "{{ ise_username }}"
ise_password: "{{ ise_password }}"
ise_verify: "{{ ise_verify }}"
id: 9efe2310-8c01-11e6-996c-525400b48521
register: identity_group_info
- name: Print
ansible.builtin.debug:
var: identity_group_info
- name: Create
cisco.ise.identity_group:
ise_hostname: "{{ ise_hostname }}"
ise_username: "{{ ise_username }}"
ise_password: "{{ ise_password }}"
ise_verify: "{{ ise_verify }}"
state: present
name: NewGroup
description: NewGroup
parent: NAC Group:NAC:IdentityGroups:User Identity Groups
register: identity_group
- name: Print
ansible.builtin.debug:
var: identity_group
|