Files
ansible-role-users/tasks/group.yml

7 lines
195 B
YAML
Raw Permalink Normal View History

2024-01-14 19:04:48 +02:00
---
- name: "Create group `{{ group }}`"
become: true
ansible.builtin.group:
2024-01-14 19:04:48 +02:00
name: "{{ group }}"
2024-01-14 19:55:19 +02:00
gid: "{{ users_groups[group].get('gid') if 'gid' in users_groups[group] else omit }}"