diff --git a/apps/roles/erpnext/tests/test.yml b/apps/roles/erpnext/tests/test.yml index 64fcba8e..92460efd 100644 --- a/apps/roles/erpnext/tests/test.yml +++ b/apps/roles/erpnext/tests/test.yml @@ -8,20 +8,11 @@ Default:0 register: version_options +- set_fact: + erpnext_version: "{{erpnext_version_meta[version_options.user_input]}}" + - debug: - msg: "Your selected version is {{ version_options.user_input}}" - -- set_fact: - erpnext_version: "13" - when: version_options.user_input == '0' - -- set_fact: - erpnext_version: "12" - when: version_options.user_input == '1' - -- set_fact: - erpnext_version: "11" - when: version_options.user_input == '2' + msg: "erpnext_version is {{erpnext_version}}" - name: Config .env for start containers shell: |