Add php-fpm role

This commit is contained in:
Tristan PILAT 2017-02-21 12:03:46 +01:00
parent fa1dd2d00f
commit 0bda02a109
5 changed files with 40 additions and 0 deletions

11
php-fpm/README.md Normal file
View File

@ -0,0 +1,11 @@
# PHP-FPM
Installation and basic configuration of php-fpm
## Tasks
Minimal configuration is in `tasks/main.yml`
## Available variables
The full list of variables (with default values) can be found in `defaults/main.yml`.

View File

@ -0,0 +1 @@
---

View File

@ -0,0 +1,5 @@
---
- name: restart php-fpm
service:
name: php-fpm
state: restarted

19
php-fpm/meta/main.yml Normal file
View File

@ -0,0 +1,19 @@
galaxy_info:
author: Evolix
description: Installation and basic configuration of php-fpm.
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
license: GPLv2
min_ansible_version: 2.0
platforms:
- name: Debian
versions:
- jessie
dependencies: []
# List your role dependencies here, one per line.
# Be sure to remove the '[]' above if you add dependencies
# to this list.

4
php-fpm/tasks/main.yml Normal file
View File

@ -0,0 +1,4 @@
- name: ensure packages are installed
apt:
name: php5-fpm
state: present