davidalger.php_cachetool

Rôle Ansible : PHP CacheTool

État de la construction

Installe CacheTool pour PHP à partir de https://github.com/gordalina/cachetool. CacheTool vous permet de travailler avec apc, opcache et le cache d'état des fichiers via la ligne de commande. Il se connectera à un serveur fastcgi (comme php-fpm) et gérera son cache.

Exigences

Aucune.

Variables du Rôle

cachetool_download_url: http://gordalina.github.io/cachetool/downloads/cachetool.phar

L'URL à partir de laquelle télécharger et installer le fichier phar de CacheTool. Pour les versions de PHP antérieures à 7.1, cette variable doit être changée de la valeur par défaut (indiquée ci-dessus) à https://github.com/gordalina/cachetool/blob/gh-pages/downloads/cachetool-3.2.1.phar?raw=true (comme documenté dans defaults/main.yml)

Dépendances

Aucune.

Exemple de Playbook

- hosts: serveurs-web
  roles:
    - { role: davidalger.php_cachetool, tags: php-cachetool }

Licence

Ce travail est sous licence MIT. Voir le fichier LICENSE pour plus de détails.

Informations sur l'Auteur

Ce rôle a été créé en 2018 par David Alger.

À propos du projet

Installs CacheTool for PHP allowing you to work with `apc`, `opcache`, etc the file status cache through the CLI.

Installer
ansible-galaxy install davidalger.php_cachetool
Licence
mit
Téléchargements
607
Propriétaire
Principal SRE, Software Engineer, Infrastructure, DevOps, Magento Master, Cloud Architect, AWS, GCP, Terraform, Ansible, Kubernetes