Push internal loading back to prepare step
This commit is contained in:
parent
91763f13a0
commit
8b7e6a30f8
@ -1,4 +1,15 @@
|
|||||||
---
|
---
|
||||||
|
- name: Check if internal system variables exists
|
||||||
|
stat:
|
||||||
|
path: "{{ plugin_config_root }}/vars.yml"
|
||||||
|
register: vars_yml
|
||||||
|
|
||||||
|
- name: Load internal system variables
|
||||||
|
no_log: true
|
||||||
|
when: vars_yml.stat.exists
|
||||||
|
include_vars:
|
||||||
|
file: "{{ plugin_config_root }}/vars.yml"
|
||||||
|
|
||||||
- name: Export internal variable placeholders
|
- name: Export internal variable placeholders
|
||||||
set_fact:
|
set_fact:
|
||||||
dokku_mariadb_db_addr: "dokku-mariadb-{{ app }}"
|
dokku_mariadb_db_addr: "dokku-mariadb-{{ app }}"
|
||||||
|
@ -1,15 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: Check if internal system variables exists
|
|
||||||
stat:
|
|
||||||
path: "{{ plugin_config_root }}/vars.yml"
|
|
||||||
register: vars_yml
|
|
||||||
|
|
||||||
- name: Load internal system variables
|
|
||||||
no_log: true
|
|
||||||
when: vars_yml.stat.exists
|
|
||||||
include_vars:
|
|
||||||
file: "{{ plugin_config_root }}/vars.yml"
|
|
||||||
|
|
||||||
- name: Check if the app config file exists
|
- name: Check if the app config file exists
|
||||||
stat:
|
stat:
|
||||||
path: "{{ app_config_root }}/config.yml"
|
path: "{{ app_config_root }}/config.yml"
|
||||||
|
Reference in New Issue
Block a user