Skip to content

Commit b8cc5a6

Browse files
committed
Fixes geerlingguy#213: Don't cast the bool to a string accidentally.
1 parent 05bd35c commit b8cc5a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tasks/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717

1818
- name: Check if MySQL packages were installed.
1919
set_fact:
20-
mysql_install_packages: >
21-
{{ (rh_mysql_install_packages is defined and rh_mysql_install_packages.changed)
20+
mysql_install_packages: "{{ (rh_mysql_install_packages is defined and rh_mysql_install_packages.changed)
2221
or (deb_mysql_install_packages is defined and deb_mysql_install_packages.changed)
2322
or (arch_mysql_install_packages is defined and arch_mysql_install_packages.changed) }}"
2423

24+
- debug: var=mysql_install_packages
25+
2526
# Configure MySQL.
2627
- include: configure.yml
2728
- include: secure-installation.yml

0 commit comments

Comments
 (0)