feat: add new variable pve_sd_user_comment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-07-29 21:49:47 +02:00
parent a3649a0a5c
commit e5ea8ca912
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ pve_sd_virtualenv: /opt/python3/pve_sd
# @var pve_sd_virtualenv_umask:example: $ "0022"
pve_sd_user: "prometheus_adm"
pve_sd_user_comment: PVE SD
pve_sd_group: "{{ pve_sd_user }}"
pve_sd_extra_groups: []

View File

@ -7,7 +7,7 @@
- name: Create user '{{ pve_sd_user }}'
user:
comment: pve_sd
comment: "{{ pve_sd_user_comment }}"
name: "{{ pve_sd_user }}"
group: "{{ pve_sd_group }}"
groups: "{{ pve_sd_extra_groups | join(',') }}"