Set datata dir as home dir for new Consul user
This commit is contained in:
parent
ddfd7a7f87
commit
f6ecf7fc5a
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ consul-user:
|
|||
- name: {{ consul.user }}
|
||||
- groups:
|
||||
- {{ consul.group }}
|
||||
- home: {{ salt['user.info'](consul.user)['home']|default(consul.config.data_dir) }}
|
||||
- createhome: False
|
||||
- system: True
|
||||
- require:
|
||||
|
|
Loading…
Reference in a new issue