Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Issue geerlingguy#223: Fixed some newly-introduced bad tests, essenti…
Browse files Browse the repository at this point in the history
…ally removing "is true".
  • Loading branch information
Colan Schwartz committed Oct 9, 2021
1 parent b6a2c40 commit 9e251a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/secure-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
when: >
((mysql_install_packages | bool) or mysql_root_password_update)
and ('5.7.' in mysql_cli_version.stdout or '8.0.' in mysql_cli_version.stdout)
and (mysql_root_password_setting.changed is true)
and mysql_root_password_setting.changed
# Set root password for MySQL < 5.7.x.
- name: Update MySQL root password for localhost root account (< 5.7.x).
Expand All @@ -102,7 +102,7 @@
when: >
((mysql_install_packages | bool) or mysql_root_password_update)
and ('5.7.' not in mysql_cli_version.stdout and '8.0.' not in mysql_cli_version.stdout)
and (mysql_root_password_setting.changed is true)
and mysql_root_password_setting.changed
- name: Get list of hosts for the anonymous user.
command: mysql -NBe 'SELECT Host FROM mysql.user WHERE User = ""'
Expand Down

0 comments on commit 9e251a0

Please sign in to comment.