Merge pull request #16 from wkda/master
Create data dir based on pillar value
This commit is contained in:
commit
f254e1d300
1 changed files with 3 additions and 9 deletions
|
@ -29,18 +29,12 @@ consul-config-dir:
|
|||
- user: consul
|
||||
- group: consul
|
||||
|
||||
consul-runtime-dir:
|
||||
file.directory:
|
||||
- name: /var/consul
|
||||
- user: consul
|
||||
- group: consul
|
||||
|
||||
consul-data-dir:
|
||||
file.directory:
|
||||
- name: /usr/local/share/consul
|
||||
- name: {{ consul.config.data_dir }}
|
||||
- user: consul
|
||||
- group: consul
|
||||
- makedirs:
|
||||
- makedirs: True
|
||||
|
||||
# Install agent
|
||||
consul-download:
|
||||
|
|
Loading…
Reference in a new issue