mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
Fix lint issues picked up by galaxy-lint-rules.
This commit is contained in:
parent
8093947079
commit
9e8daa5fdd
@ -50,14 +50,18 @@
|
|||||||
|
|
||||||
# Setup/install tasks.
|
# Setup/install tasks.
|
||||||
- include_tasks: setup-RedHat.yml
|
- 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
|
- 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.
|
# Install PHP from source when php_install_from_source is true.
|
||||||
- include_tasks: install-from-source.yml
|
- include_tasks: install-from-source.yml
|
||||||
when: php_install_from_source == true
|
when: php_install_from_source
|
||||||
|
|
||||||
# Configure PHP.
|
# Configure PHP.
|
||||||
- include_tasks: configure.yml
|
- include_tasks: configure.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user