+- name: check if "php5-apcu" package exists
+ tags:
+ - apache
+ - packages
+ shell: |
+ set -o pipefail
+ apt-cache search php5-apcu | grep "^php5-apcu -" >/dev/null
+ args:
+ executable: /bin/bash
+ check_mode: no
+ register: php5_apcu_is_available
+ failed_when: php5_apcu_is_available.rc > 1
+ changed_when: no
+