ansible-nas/roles/ansible-nas-users/tasks/main.yml
2022-08-22 09:03:59 +02:00

15 lines
288 B
YAML

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