File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ galaxy_info:
6
6
description : MySQL server for RHEL/CentOS and Debian/Ubuntu.
7
7
company : " Midwestern Mac, LLC"
8
8
license : " license (BSD, MIT)"
9
- min_ansible_version : 1.9
9
+ min_ansible_version : 2.2
10
10
platforms :
11
11
- name : EL
12
12
versions :
Original file line number Diff line number Diff line change 32
32
command : mysql -NBe "SELECT Host FROM mysql.user WHERE User = '{{ mysql_root_username }}' ORDER BY (Host='localhost') ASC"
33
33
register : mysql_root_hosts
34
34
changed_when : false
35
- always_run : true
35
+ check_mode : no
36
36
when : mysql_install_packages | bool or mysql_root_password_update
37
37
38
38
# Note: We do not use mysql_user for this operation, as it doesn't always update
67
67
command : mysql -NBe 'SELECT Host FROM mysql.user WHERE User = ""'
68
68
register : mysql_anonymous_hosts
69
69
changed_when : false
70
- always_run : true
70
+ check_mode : no
71
71
72
72
- name : Remove anonymous MySQL users.
73
73
mysql_user :
You can’t perform that action at this time.
0 commit comments