Update the promtail user creation task
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
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_loki_server: localhost
|
||||
promtail_loki_port: 3100
|
||||
|
||||
@@ -17,9 +17,11 @@
|
||||
ansible.builtin.user:
|
||||
name: promtail
|
||||
groups:
|
||||
- adm
|
||||
- promtail
|
||||
- systemd-journal
|
||||
- adm
|
||||
shell: /bin/false
|
||||
home: /var/lib/promtail
|
||||
state: present
|
||||
system: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user