Update the promtail user creation task
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
promtail_version: 2.7.3
|
promtail_version: 2.7.3
|
||||||
promtail_positions_path: /home/promtail/positions.yaml
|
promtail_positions_path: /var/lib/promtail/positions.yaml
|
||||||
promtail_http_port: 9080
|
promtail_http_port: 9080
|
||||||
promtail_loki_server: localhost
|
promtail_loki_server: localhost
|
||||||
promtail_loki_port: 3100
|
promtail_loki_port: 3100
|
||||||
|
|||||||
@@ -17,9 +17,11 @@
|
|||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: promtail
|
name: promtail
|
||||||
groups:
|
groups:
|
||||||
|
- adm
|
||||||
- promtail
|
- promtail
|
||||||
- systemd-journal
|
- systemd-journal
|
||||||
- adm
|
shell: /bin/false
|
||||||
|
home: /var/lib/promtail
|
||||||
state: present
|
state: present
|
||||||
system: true
|
system: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user