Set datata dir as home dir for new Consul user

This commit is contained in:
Denys Havrysh 2017-11-30 12:51:17 +02:00
parent ddfd7a7f87
commit f6ecf7fc5a

View file

@ -19,6 +19,7 @@ consul-user:
- name: {{ consul.user }} - name: {{ consul.user }}
- groups: - groups:
- {{ consul.group }} - {{ consul.group }}
- home: {{ salt['user.info'](consul.user)['home']|default(consul.config.data_dir) }}
- createhome: False - createhome: False
- system: True - system: True
- require: - require: