Skip to content

savoirfairelinux/ansible-php-fpm-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-fpm-nginx

Sets up a PHP project running behind php-fpm and nginx.

See default variables 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

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.

Releases

No releases published

Packages

No packages published