Fix lint issues picked up by galaxy-lint-rules.

This commit is contained in:
Jeff Geerling 2018-10-25 11:09:47 -05:00
parent 8093947079
commit 9e8daa5fdd

View File

@ -50,14 +50,18 @@
# Setup/install tasks.
- include_tasks: setup-RedHat.yml
when: (php_install_from_source == false) and (ansible_os_family == 'RedHat')
when:
- not php_install_from_source
- ansible_os_family == 'RedHat'
- include_tasks: setup-Debian.yml
when: (php_install_from_source == false) and (ansible_os_family == 'Debian')
when:
- not php_install_from_source
- ansible_os_family == 'Debian'
# Install PHP from source when php_install_from_source is true.
- include_tasks: install-from-source.yml
when: php_install_from_source == true
when: php_install_from_source
# Configure PHP.
- include_tasks: configure.yml