diff --git a/roles/mysql_hardening/tasks/mysql_secure_installation.yml b/roles/mysql_hardening/tasks/mysql_secure_installation.yml index 8279cb87..c238fc14 100644 --- a/roles/mysql_hardening/tasks/mysql_secure_installation.yml +++ b/roles/mysql_hardening/tasks/mysql_secure_installation.yml @@ -54,6 +54,7 @@ AND COLUMN_NAME = 'is_role') login_unix_socket: "{{ login_unix_socket | default(omit) }}" register: mysql_role_support + check_mode: false when: > (mysql_distribution == "mysql" and mysql_version.version.full is version('5.7.6', '>=')) or (mysql_distribution == "mariadb" and mysql_version.version.full