roles/php-fpm: Improve task for Ubuntu 16.04 and Debian 9
This commit is contained in:
parent
9675542f7d
commit
7fc13d6331
@ -2,9 +2,9 @@
|
||||
# Note: Debian 9's php-fpm config is identical to Ubuntu 16.04's, so for now we
|
||||
# can capitalize on that and use the same tasks.
|
||||
|
||||
- name: Configure php-fpm on Ubuntu and Debian 9
|
||||
- name: Configure php-fpm on Ubuntu 16.04 and Debian 9
|
||||
import_tasks: Ubuntu.yml
|
||||
when: ansible_distribution == 'Ubuntu' or (ansible_distribution == 'Debian' and ansible_distribution_major_version is version_compare('9', '=='))
|
||||
when: (ansible_distribution == 'Ubuntu' and ansible_distribution_version is version_compare('16.04', '==')) or (ansible_distribution == 'Debian' and ansible_distribution_major_version is version_compare('9', '=='))
|
||||
tags: php-fpm
|
||||
|
||||
- name: Configure php-fpm on Ubuntu 18.04
|
||||
|
Loading…
Reference in New Issue
Block a user