Skip to content

Commit bb40196

Browse files
committed
Small fix for previous MySQL PR merge on Ansible 2.
1 parent 324b789 commit bb40196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
- name: Check if MySQL packages were installed.
2929
set_fact:
30-
mysql_install_packages: "{{ rh_mysql_install_packages.changed or deb_mysql_install_packages.changed }}"
30+
mysql_install_packages: "{{ (rh_mysql_install_packages is defined and rh_mysql_install_packages.changed) or (deb_mysql_install_packages is defined and deb_mysql_install_packages.changed) }}"
3131

3232
# Configure MySQL.
3333
- include: configure.yml

0 commit comments

Comments
 (0)