Ansible role for deploying PHP for web applications on the Data.gov platform.
---
- name: Configure PHP for web app
roles:
- role: geerlingguy.nginx
- role: gsa.datagov-deploy-php
vars:
php_app_user: myapp
php_app_git_repo: https://github.com/GSA/project-open-data-dashboard.git
php_major_minor_version: "7.2"
Name of the OS user to create for this application.
URL for the git repository housing the PHP application.
Version of the application to deploy. Should be a tag, commit, or branch.
Number of old deployments to retain before cleaning them up.
Major/minor version of PHP to install.
Specifies the PHP-FPM request_terminate_timeout
configuration option. e.g.
30s
.