From df46d5074ec39bd90435a6bc236950faca1a3672 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 25 Apr 2017 16:14:38 +0200 Subject: [PATCH] apache2-php5: Fix check if "php5-apcu" package is available --- roles/apache2-php5/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/apache2-php5/tasks/main.yml b/roles/apache2-php5/tasks/main.yml index 9a57c0e..bb13210 100644 --- a/roles/apache2-php5/tasks/main.yml +++ b/roles/apache2-php5/tasks/main.yml @@ -5,7 +5,7 @@ tags: - apache - packages - command: dpkg --print-avail php5-apcu + shell: apt-cache search php5-apcu | grep "^php5-apcu -" >/dev/null check_mode: no register: php5_apcu_is_available failed_when: php5_apcu_is_available.rc > 1 -- 2.39.2