ansible/base/cachetool.yml
2016-02-19 17:15:10 +01:00

8 lines
350 B
YAML

---
# This playbook install cachetool to reset opcache after web apps deployement on php5-fpm
- hosts: all
tasks:
- name: Download cachetool
get_url: url=http://gordalina.github.io/cachetool/downloads/cachetool.phar dest=/home/deploy/cachetool.phar
- name: Set execution
file: path=/home/deploy/cachetool.phar state=file mode="a+x"