Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidalger/ansible-role-php-cachetool
Ansible Role - Installs CacheTool for PHP
https://github.com/davidalger/ansible-role-php-cachetool
ansible cachetool php role system
Last synced: about 2 months ago
JSON representation
Ansible Role - Installs CacheTool for PHP
- Host: GitHub
- URL: https://github.com/davidalger/ansible-role-php-cachetool
- Owner: davidalger
- License: mit
- Created: 2019-03-31T23:18:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-20T19:06:54.000Z (over 4 years ago)
- Last Synced: 2024-04-12T04:12:02.363Z (9 months ago)
- Topics: ansible, cachetool, php, role, system
- Homepage: https://galaxy.ansible.com/davidalger/php_cachetool
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: PHP CacheTool
[![Build Status](https://travis-ci.com/davidalger/ansible-role-php-cachetool.svg?branch=master)](https://travis-ci.com/davidalger/ansible-role-php-cachetool)
Installs CacheTool for PHP from https://github.com/gordalina/cachetool. CacheTool allows you to work with `apc`, `opcache`, and the file status cache through the cli. It will connect to a fastcgi server (like `php-fpm`) and operate it's cache.
## Requirements
None.
## Role Variables
cachetool_download_url: http://gordalina.github.io/cachetool/downloads/cachetool.phar
The URL from which to download and install the CacheTool phar file. For PHP versions older than 7.1, this variable must be changed from the default (shown above) to `https://github.com/gordalina/cachetool/blob/gh-pages/downloads/cachetool-3.2.1.phar?raw=true` (as documented in `defaults/main.yml`)
## Dependencies
None.
## Example Playbook
- hosts: web-servers
roles:
- { role: davidalger.php_cachetool, tags: php-cachetool }## License
This work is licensed under the MIT license. See LICENSE file for details.
## Author Information
This role was created in 2018 by [David Alger](http://davidalger.com/).