From c448a71c45ac41d392a1bafdb2eb242949dda2ee Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 19 Jul 2022 17:41:20 +0800 Subject: [PATCH] Update pre.yml --- apps/roles/mysql/tasks/pre.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/roles/mysql/tasks/pre.yml b/apps/roles/mysql/tasks/pre.yml index b9f75c05..3f781428 100644 --- a/apps/roles/mysql/tasks/pre.yml +++ b/apps/roles/mysql/tasks/pre.yml @@ -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}}"