mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Update pre.yml
This commit is contained in:
parent
80dd430c90
commit
c14bdd3588
@ -1,19 +1,29 @@
|
||||
- pause:
|
||||
prompt: |
|
||||
Choice Redis version:
|
||||
0: Redis7
|
||||
1: Redis6
|
||||
2: Redis5
|
||||
0: Redis7.0
|
||||
1: Redis6.2
|
||||
2: Redis6.0
|
||||
3: Redis5.0
|
||||
4: Redis4.0
|
||||
5: Redis3.2
|
||||
6: Redis3.0
|
||||
7: Redis2.8
|
||||
private: no
|
||||
Default:0
|
||||
register: redis_version_options
|
||||
|
||||
- set_fact:
|
||||
redis_version_meta:
|
||||
"0": "7"
|
||||
"1": "6"
|
||||
"2": "5"
|
||||
|
||||
"0": "7.0"
|
||||
"1": "6.2"
|
||||
"2": "6.0"
|
||||
"3": "5.0"
|
||||
"4": "4.0"
|
||||
"5": "3.2"
|
||||
"6": "3.0"
|
||||
"7": "2.8"
|
||||
|
||||
- set_fact:
|
||||
redis_version: "{{redis_version_meta[redis_version_options.user_input]}}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user