fixed variable creation order
diff --git a/tasks/main.yml b/tasks/main.yml
index 9c7f42c..e7cc092 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -16,17 +16,17 @@
msg: "Management server is not running"
when: ms_ext_mgmt_port_status | failed
+- name: Construct name of edge response validate file
+ cache:
+ key: 'onboarding_config_file_path'
+ value: '{{ opdk_installer_path }}/edge-response-validate-{{ opdk_version }}-{{ region }}.conf'
+
- name: Remove old apigee-provision file
file:
path: '{{ onboarding_config_file_path }}'
state: absent
when: provided_onboarding_config_file_path is not defined
-- name: Construct name of edge response validate file
- cache:
- key: 'onboarding_config_file_path'
- value: '{{ opdk_installer_path }}/edge-response-validate-{{ opdk_version }}-{{ region }}.conf'
-
- name: Prepare onboarding config file
template:
src: '{{ onboarding_config }}.j2'