Try import_vars
This commit is contained in:
		| @ -11,7 +11,7 @@ | ||||
| - name: Load internal system variables | ||||
|   no_log: true | ||||
|   when: vars_yml.stat.exists | ||||
|   include_vars: | ||||
|   import_vars: | ||||
|     file: "{{ plugin_config_root }}/vars.yml" | ||||
|  | ||||
| - name: Check if the application config file exists | ||||
| @ -22,7 +22,7 @@ | ||||
| - name: Load unencrypted configuration variables | ||||
|   no_log: true | ||||
|   when: config_yml.stat.exists | ||||
|   include_vars: | ||||
|   import_vars: | ||||
|     file: "{{ app_config_root }}/config.yml" | ||||
|   register: config_include | ||||
|  | ||||
| @ -34,7 +34,7 @@ | ||||
| - name: Load application encrypted vault variables | ||||
|   no_log: true | ||||
|   when: vault_dir.stat.exists | ||||
|   include_vars: | ||||
|   import_vars: | ||||
|     ignore_unknown_extensions: true | ||||
|     dir: "{{ app_config_root }}/vault" | ||||
|     extensions: | ||||
|  | ||||
		Reference in New Issue
	
	Block a user