Update test.yml

This commit is contained in:
qiaofeng1227 2022-05-16 08:56:34 +08:00 committed by GitHub
parent c95a1faf23
commit a4bf007402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: |