Drop explicit group creation making the eponymous group non-primary

This commit is contained in:
Alexander Gorelyshev
2025-12-26 22:20:49 +04:00
parent 46a3ce39aa
commit d9180e04b2

View File

@@ -7,18 +7,11 @@
cache_valid_time: 3600
- name: "Create the 'promtail' group"
ansible.builtin.group:
name: promtail
state: present
- name: "Create the 'promtail' user"
ansible.builtin.user:
name: promtail
groups:
- adm
- promtail
- systemd-journal
shell: /bin/false
home: /var/lib/promtail