ansible-nas/roles/ansible-nas-users/tasks/main.yml
2023-04-15 14:11:49 +01:00

15 lines
320 B
YAML

---
- name: Create ansible-nas group
ansible.builtin.group:
name: ansible-nas
state: present
- name: Create ansible-nas user
ansible.builtin.user:
name: ansible-nas
state: present
system: yes
update_password: on_create
create_home: no
group: ansible-nas
shell: /usr/sbin/nologin