check mode for status var

Signed-off-by: Martin Schurz <Martin.Schurz@telekom.de>
This commit is contained in:
Martin Schurz 2023-11-11 03:24:25 +01:00
parent 219ec1938b
commit 79dc1d5474

View file

@ -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