Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/savoirfairelinux/ansible-php-fpm-nginx
https://github.com/savoirfairelinux/ansible-php-fpm-nginx
ansible ansible-role nginx php-fpm
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/savoirfairelinux/ansible-php-fpm-nginx
- Owner: savoirfairelinux
- License: gpl-3.0
- Created: 2016-10-26T01:04:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T03:38:34.000Z (4 months ago)
- Last Synced: 2024-07-17T06:17:47.697Z (4 months ago)
- Topics: ansible, ansible-role, nginx, php-fpm
- Size: 45.9 KB
- Stars: 7
- Watchers: 10
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# php-fpm-nginx
*Sets up a PHP project running behind php-fpm and nginx.*
See [default variables](defaults/main.yml) for details.
## Requirements
* Ansible 2.2+
* One of these target systems:
* Debian jessie
* Ubuntu 14.04
* Ubuntu 16.04
* Nginx installed. Recommended role: [ansible-nginx][ansible-nginx]## Example
```
- role: php-fpm-nginx
php_base_name: project_name
php_domain_name: project_name.example.com
php_site_root: /opt/project_name/www
php_index_filename: index.php
```## Uninstall
This role supports uninstalling cleanly. If you run the role with `php_uninstall` to `yes`,
resources created by the role will be removed. This however, excludes system packages because we
want to avoid removing packages that another role might need.[ansible-nginx]: https://github.com/savoirfairelinux/ansible-nginx