davidalger.php_cachetool
Ansible Role: PHP CacheTool
Instala CacheTool para PHP desde https://github.com/gordalina/cachetool. CacheTool te permite trabajar con apc
, opcache
, y el caché de estado de archivos a través de la línea de comandos. Se conectará a un servidor fastcgi (como php-fpm
) y operará su caché.
Requisitos
Ninguno.
Variables del Rol
cachetool_download_url: http://gordalina.github.io/cachetool/downloads/cachetool.phar
La URL de donde descargar e instalar el archivo phar de CacheTool. Para versiones de PHP más antiguas que 7.1, esta variable debe ser cambiada del valor por defecto (mostrado arriba) a https://github.com/gordalina/cachetool/blob/gh-pages/downloads/cachetool-3.2.1.phar?raw=true
(como se documenta en defaults/main.yml
)
Dependencias
Ninguna.
Ejemplo de Playbook
- hosts: servidores-web
roles:
- { role: davidalger.php_cachetool, tags: php-cachetool }
Licencia
Este trabajo está licenciado bajo la licencia MIT. Véase el archivo LICENSE para más detalles.
Información del Autor
Este rol fue creado en 2018 por David Alger.
Acerca del proyecto
Installs CacheTool for PHP allowing you to work with `apc`, `opcache`, etc the file status cache through the CLI.
Instalar
ansible-galaxy install davidalger.php_cachetool
Licencia
mit
Descargas
607
Propietario
Principal SRE, Software Engineer, Infrastructure, DevOps, Magento Master, Cloud Architect, AWS, GCP, Terraform, Ansible, Kubernetes