setup php website with nginx role
This commit is contained in:
12
roles/php-fpm/handlers/main.yml
Normal file
12
roles/php-fpm/handlers/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# handlers/main.yml
|
||||
# define handlers here
|
||||
|
||||
#- name: restart <service>
|
||||
# service: name=<service> state=restarted
|
||||
|
||||
#- name: stop <service>
|
||||
# service: name=<service> state=stopped
|
||||
|
||||
- name: restart php
|
||||
service: name=php5-fpm state=restarted
|
||||
Reference in New Issue
Block a user