Load vault vars into vault dict
This commit is contained in:
parent
22e15e4b50
commit
ed93cb7df2
@ -34,7 +34,6 @@
|
||||
when: config_yml.stat.exists
|
||||
include_vars:
|
||||
file: "{{ app_config_root }}/config.yml"
|
||||
name: "config"
|
||||
|
||||
- name: Check if an application vault directory exists
|
||||
stat:
|
||||
@ -50,3 +49,8 @@
|
||||
name: "vault"
|
||||
extensions:
|
||||
- yml
|
||||
register: vault_include
|
||||
|
||||
- name: Load vault variables into vault dictionary
|
||||
set_fact:
|
||||
vault: "{{ vault_include.ansible_facts }}"
|
||||
|
Reference in New Issue
Block a user