8 lines
360 B
YAML
8 lines
360 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 force=yes
|
|
- name: Set execution
|
|
file: path=/home/deploy/cachetool.phar state=file mode="a+x" |