feat: add new variable prometheus_user_comment
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-07-29 21:46:33 +02:00
parent 1ff77d76c4
commit 29759df1c9
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
prometheus_version: 2.27.0
prometheus_user: "prometheus_adm"
prometheus_user_home: "/home/{{ prometheus_user }}"
prometheus_user_comment: Prometheus
prometheus_group: "{{ prometheus_user }}"
prometheus_extra_groups: []

View File

@ -14,7 +14,7 @@
- name: Create user '{{ prometheus_user }}'
user:
comment: Prometheus
comment: "{{ prometheus_user_comment }}"
name: "{{ prometheus_user }}"
home: "{{ prometheus_user_home }}"
group: "{{ prometheus_group }}"