15 lines
375 B
YAML
15 lines
375 B
YAML
|
---
|
||
|
|
||
|
- name: cluster/configure | Ensure the vault/config directory exists
|
||
|
file:
|
||
|
dest: "{{ vault_config_dir }}"
|
||
|
mode: 0750
|
||
|
state: directory
|
||
|
|
||
|
- name: cluster/configure | Lay down the configuration file
|
||
|
copy:
|
||
|
content: "{{ vault_config | to_nice_json(indent=4) }}"
|
||
|
dest: "{{ vault_config_dir }}/config.json"
|
||
|
mode: 0640
|
||
|
register: vault_config_change
|