Drop explicit group creation making the eponymous group non-primary
This commit is contained in:
@@ -7,18 +7,11 @@
|
|||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
|
|
||||||
|
|
||||||
- name: "Create the 'promtail' group"
|
|
||||||
ansible.builtin.group:
|
|
||||||
name: promtail
|
|
||||||
state: present
|
|
||||||
|
|
||||||
|
|
||||||
- name: "Create the 'promtail' user"
|
- name: "Create the 'promtail' user"
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: promtail
|
name: promtail
|
||||||
groups:
|
groups:
|
||||||
- adm
|
- adm
|
||||||
- promtail
|
|
||||||
- systemd-journal
|
- systemd-journal
|
||||||
shell: /bin/false
|
shell: /bin/false
|
||||||
home: /var/lib/promtail
|
home: /var/lib/promtail
|
||||||
|
|||||||
Reference in New Issue
Block a user