nomad/ansible/roles/ssh/tasks/creategroups.yml
2023-03-18 13:13:16 +00:00

7 lines
169 B
YAML

---
- name: Ensure user groups are present
become: true
group:
name: "{{ item }}"
state: present
with_items: "{{ user_data.groups | default(user_data) }}"