Files
ansible-role-users/tasks/group.yml
Mykhailo Nikiforov be7b37ee2e
Some checks failed
checks-test / Lint (push) Failing after 34s
checks-test / molecule (rockylinux9) (push) Failing after 2m53s
checks-test / molecule (ubuntu2204) (push) Failing after 2m45s
checks-test / molecule (debian11) (push) Successful in 3m50s
feat(role): init
2024-01-14 19:04:48 +02:00

7 lines
143 B
YAML

---
- name: "Create group `{{ group }}`"
become: true
group:
name: "{{ group }}"
gid: "{{ users_groups[group].get('gid', None) }}"