Revert "Try import_vars"

This reverts commit c5ad341f31.

"import_vars" doesnt exist.
This commit is contained in:
Luke Murphy 2020-04-14 14:29:37 +02:00
parent c5ad341f31
commit 3ffa51b00e
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -11,7 +11,7 @@
- name: Load internal system variables - name: Load internal system variables
no_log: true no_log: true
when: vars_yml.stat.exists when: vars_yml.stat.exists
import_vars: include_vars:
file: "{{ plugin_config_root }}/vars.yml" file: "{{ plugin_config_root }}/vars.yml"
- name: Check if the application config file exists - name: Check if the application config file exists
@ -22,7 +22,7 @@
- name: Load unencrypted configuration variables - name: Load unencrypted configuration variables
no_log: true no_log: true
when: config_yml.stat.exists when: config_yml.stat.exists
import_vars: include_vars:
file: "{{ app_config_root }}/config.yml" file: "{{ app_config_root }}/config.yml"
register: config_include register: config_include
@ -34,7 +34,7 @@
- name: Load application encrypted vault variables - name: Load application encrypted vault variables
no_log: true no_log: true
when: vault_dir.stat.exists when: vault_dir.stat.exists
import_vars: include_vars:
ignore_unknown_extensions: true ignore_unknown_extensions: true
dir: "{{ app_config_root }}/vault" dir: "{{ app_config_root }}/vault"
extensions: extensions: