2014-08-17 00:35:57 +03:00
---
2017-01-30 15:11:39 +02:00
# Note: Debian 9's php-fpm config is identical to Ubuntu 16.04's, so for now we
2018-03-18 22:39:02 +02:00
# can capitalize on that and use the same tasks. Ubuntu 18.04 uses php-fpm 7.2.
2019-07-06 21:04:04 +03:00
# Debian 10 uses php-fpm 7.3.
2014-08-17 00:35:57 +03:00
2018-03-18 22:28:58 +02:00
- name : Configure php-fpm on Ubuntu 16.04 and Debian 9
2018-03-18 22:29:52 +02:00
include_tasks : Ubuntu.yml
2020-03-09 15:20:51 +02:00
when : (ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('16.04', '==')) or (ansible_distribution == 'Debian' and ansible_distribution_major_version is version('9', '=='))
2016-04-15 13:27:51 +03:00
tags : php-fpm
2014-08-17 00:35:57 +03:00
2018-03-18 22:26:46 +02:00
- name : Configure php-fpm on Ubuntu 18.04
2018-03-18 22:29:52 +02:00
include_tasks : Ubuntu_18.04.yml
2020-03-09 15:20:51 +02:00
when : ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('18.04', '==')
2018-03-18 22:26:46 +02:00
tags : php-fpm
2019-07-06 21:04:04 +03:00
- name : Configure php-fpm on Debian 10
include_tasks : Debian_10.yml
2020-03-09 15:20:51 +02:00
when : ansible_distribution == 'Debian' and ansible_distribution_version is version('10', '==')
2019-07-06 21:04:04 +03:00
tags : php-fpm
2014-08-17 00:35:57 +03:00
# vim: set ts=2 sw=2: