davidalger.php_cachetool
Ansible Role: PHP CacheTool
This role installs CacheTool for PHP from https://github.com/gordalina/cachetool. CacheTool helps you manage apc
, opcache
, and file status cache using the command line. It can connect to a fastcgi server (like php-fpm
) to manage its cache.
Requirements
There are no specific requirements.
Role Variables
cachetool_download_url: http://gordalina.github.io/cachetool/downloads/cachetool.phar
This is the URL for downloading and installing the CacheTool phar file. If you are using PHP versions older than 7.1, change this URL to https://github.com/gordalina/cachetool/blob/gh-pages/downloads/cachetool-3.2.1.phar?raw=true
(as mentioned in defaults/main.yml
).
Dependencies
There are no dependencies.
Example Playbook
- hosts: web-servers
roles:
- { role: davidalger.php_cachetool, tags: php-cachetool }
License
This work is licensed under the MIT license. See the LICENSE file for more information.
Author Information
This role was created in 2018 by David Alger.
Informazioni sul progetto
Installs CacheTool for PHP allowing you to work with `apc`, `opcache`, etc the file status cache through the CLI.
Installa
ansible-galaxy install davidalger.php_cachetool
Licenza
mit
Download
607
Proprietario
Principal SRE, Software Engineer, Infrastructure, DevOps, Magento Master, Cloud Architect, AWS, GCP, Terraform, Ansible, Kubernetes