Update pre.yml

This commit is contained in:
qiaofeng1227 2022-07-19 17:41:20 +08:00 committed by GitHub
parent 1422e770c8
commit c448a71c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
1: MySQL5.7
private: no
Default:0
register: version_options
register: mysql_version_options
- set_fact:
mysql_version_meta:
@ -13,7 +13,7 @@
"1": "5.7"
- set_fact:
mysql_version: "{{mysql_version_meta[version_options.user_input]}}"
mysql_version: "{{mysql_version_meta[mysql_version_options.user_input]}}"
- debug:
msg: "mysql_version is {{mysql_version}}"