xoxys.ucs/tasks/users_groups.yml
Robert Kaussow 46ab508260
All checks were successful
continuous-integration/drone/push Build is passing
remove old loop syntax
2019-08-27 08:25:49 +02:00

14 lines
387 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') }}"
loop: "{{ ucs_system_groups }}"
loop_control:
label: "{{ item.name }}"
become: True
become_user: root