14 lines
316 B
YAML
14 lines
316 B
YAML
---
|
|
- name: "User | Create system user"
|
|
ansible.builtin.user:
|
|
name: "{{ dmarcsrg_user }}"
|
|
shell: /bin/false
|
|
create_home: false
|
|
password_lock: true
|
|
system: true
|
|
|
|
- name: "User | Add www-data to user group"
|
|
ansible.builtin.user:
|
|
name: www-data
|
|
groups: "{{ dmarcsrg }}"
|
|
append: true
|