roles/php-fpm: Updates for Debian 9 (stretch)
Debian 9 is still in beta and doesn't have nginx.org builds yet, so we need to use the nginx package in Debian's repositories, and that required a bit of a different configuration. After official nginx.org builds are released we can revert this.
This commit is contained in:
@ -1,11 +1,13 @@
|
||||
---
|
||||
# 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.
|
||||
|
||||
- include: Debian.yml
|
||||
when: ansible_distribution == 'Debian'
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_major_version | version_compare('9', '<')
|
||||
tags: php-fpm
|
||||
|
||||
- include: Ubuntu.yml
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
when: ansible_distribution == 'Ubuntu' or (ansible_distribution == 'Debian' and ansible_distribution_major_version | version_compare('9', '=='))
|
||||
tags: php-fpm
|
||||
|
||||
# vim: set ts=2 sw=2:
|
||||
|
Reference in New Issue
Block a user