Add new basic PHP role.

This commit is contained in:
staticsafe 2017-01-13 02:43:11 +00:00
parent f73a0972f5
commit 2ed429d06a
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
----
- name: Install php-fpm
apt: pkg=php-fpm state=latest
- name: Stop the php-fpm daemon for now and ensure it starts on boot
service: name=php7.0-fpm state=stopped enabled=yes

View File

@ -6,3 +6,10 @@
roles:
- common
- name: install PHP-FPM to required nodes
hosts: php
user: root
roles:
- php