xoxys.ucs/tasks/users_groups.yml

12 lines
362 B
YAML
Raw Normal View History

---
- 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 | default([]) }}"
2018-11-20 22:37:37 +00:00
become: True
become_user: root