Create test.yml

This commit is contained in:
qiaofeng1227 2022-05-11 17:39:16 +08:00 committed by GitHub
parent b35d4bb25d
commit 27959cac11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,15 @@
- pause:
prompt: |
[Discuzq Version] Choice Discuzq version?
0: latest
1: 3.1
Default is 0
register: version_options
- debug:
msg: "Your selected version is {{ version_options}}"
vars:
discuzq_version: "{{ (desktop_options.user_input is truthy) | ternary(desktop_options.user_input, '0') }}"
- debug:
msg: "install discuzq version is {{ discuzq_version }}"