14 lines
313 B
YAML
14 lines
313 B
YAML
|
---
|
||
|
- name: Check if vault variables are available for loading
|
||
|
stat:
|
||
|
path: "{{ app_config_root }}/vault/"
|
||
|
register: vault_dir
|
||
|
|
||
|
- name: Load vault variables into playbook context
|
||
|
include_vars:
|
||
|
dir: "{{ app_config_root }}/vault/"
|
||
|
extensions:
|
||
|
- yml
|
||
|
- yaml
|
||
|
when: vault_dir.stat.exists
|