ansible-nas/roles/ansible-nas-users/tasks/main.yml

16 lines
320 B
YAML
Raw Normal View History

---
- name: Create ansible-nas group
2023-04-15 13:11:49 +00:00
ansible.builtin.group:
name: ansible-nas
state: present
- name: Create ansible-nas user
2023-04-15 13:11:49 +00:00
ansible.builtin.user:
name: ansible-nas
state: present
system: yes
update_password: on_create
create_home: no
group: ansible-nas
shell: /usr/sbin/nologin