15 lines
430 B
YAML
15 lines
430 B
YAML
---
|
|
- name: Create system groups
|
|
udm_group:
|
|
name: "{{ item.name }}"
|
|
description: "{{ item.description | default(omit) }}"
|
|
subpath: "{{ item.subpath | default(omit) }}"
|
|
ou: "{{ item.ou | default(omit) }}"
|
|
state: "{{ item.state | default('present') }}"
|
|
with_items: "{{ ucs_system_groups }}"
|
|
loop_control:
|
|
label: "{{ item.name }}"
|
|
when: ucs_system_groups is defined
|
|
become: True
|
|
become_user: root
|