From 3666b29184b7483cd4f20be34686f3e520d49ed1 Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Wed, 9 Mar 2016 15:03:41 +0100 Subject: [PATCH] nghttp2 only on Debian Jessie+ --- tests/includes/pre_Debian.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/includes/pre_Debian.yml b/tests/includes/pre_Debian.yml index 0898923..866a31a 100644 --- a/tests/includes/pre_Debian.yml +++ b/tests/includes/pre_Debian.yml @@ -9,7 +9,10 @@ - php5-fpm - curl - fcgiwrap - - nghttp2 + +- name: APT | Install nghttp2 + apt: pkg=nghttp2 state=present + when: ansible_distribution_major_version | version_compare(8, 'ge') - name: SERVICE | Force start services service: name={{ item }} state=started