Skip to content

Commit b719b77

Browse files
committed
PR geerlingguy#182 follow-up: Make conditions easier to read.
1 parent ff03c65 commit b719b77

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tasks/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
- name: Check if MySQL packages were installed.
1919
set_fact:
20-
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) or (arch_mysql_install_packages is defined and arch_mysql_install_packages.changed) }}"
20+
mysql_install_packages: >
21+
{{ (rh_mysql_install_packages is defined and rh_mysql_install_packages.changed)
22+
or (deb_mysql_install_packages is defined and deb_mysql_install_packages.changed)
23+
or (arch_mysql_install_packages is defined and arch_mysql_install_packages.changed) }}"
2124
2225
# Configure MySQL.
2326
- include: configure.yml

0 commit comments

Comments
 (0)