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
fafa075550
commit
26e388fac6
@ -1,8 +1,12 @@
|
|||||||
- pause:
|
- pause:
|
||||||
prompt: |
|
prompt: |
|
||||||
Choice Zabbix version:
|
Choice Zabbix version:
|
||||||
0: Zabbix5.4
|
0: Zabbix6.0
|
||||||
1: Zabbix5.2
|
1: Zabbix5.4
|
||||||
|
2: Zabbix5.2
|
||||||
|
3: Zabbix5.0
|
||||||
|
4: Zabbix4.0
|
||||||
|
5: Zabbix3.0
|
||||||
private: no
|
private: no
|
||||||
Default:0
|
Default:0
|
||||||
register: zabbix_version_options
|
register: zabbix_version_options
|
||||||
@ -11,6 +15,9 @@
|
|||||||
zabbix_version_meta:
|
zabbix_version_meta:
|
||||||
"0": "5.4"
|
"0": "5.4"
|
||||||
"1": "5.2"
|
"1": "5.2"
|
||||||
|
"2": "5.0"
|
||||||
|
"3": "4.0"
|
||||||
|
"4": "3.0"
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
zabbix_version: "{{zabbix_version_meta[zabbix_version_options.user_input]}}"
|
zabbix_version: "{{zabbix_version_meta[zabbix_version_options.user_input]}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user