Add new basic PHP role.
This commit is contained in:
parent
f73a0972f5
commit
2ed429d06a
5
ubuntu/roles/php/tasks/main.yml
Normal file
5
ubuntu/roles/php/tasks/main.yml
Normal 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
|
@ -6,3 +6,10 @@
|
||||
|
||||
roles:
|
||||
- common
|
||||
|
||||
- name: install PHP-FPM to required nodes
|
||||
hosts: php
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- php
|
||||
|
Loading…
Reference in New Issue
Block a user