roles/php-fpm: Improve task for Ubuntu 16.04 and Debian 9

This commit is contained in:
Alan Orth 2018-03-18 22:28:58 +02:00
parent 9675542f7d
commit 7fc13d6331
1 changed files with 2 additions and 2 deletions

View File

@ -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