Load vault vars into vault dict

This commit is contained in:
Luke Murphy 2020-04-14 13:14:09 +02:00
parent 22e15e4b50
commit ed93cb7df2
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -34,7 +34,6 @@
when: config_yml.stat.exists when: config_yml.stat.exists
include_vars: include_vars:
file: "{{ app_config_root }}/config.yml" file: "{{ app_config_root }}/config.yml"
name: "config"
- name: Check if an application vault directory exists - name: Check if an application vault directory exists
stat: stat:
@ -50,3 +49,8 @@
name: "vault" name: "vault"
extensions: extensions:
- yml - yml
register: vault_include
- name: Load vault variables into vault dictionary
set_fact:
vault: "{{ vault_include.ansible_facts }}"