ansible-personal/roles/php-fpm/handlers/main.yml
Alan Orth 51183617b8 roles/php-fpm: Reload service instead of restarting
No need to bounce the service for most config changes when we can just
tell the daemon to reload gracefully.
2017-11-05 00:27:44 +02:00

11 lines
196 B
YAML

---
# For Debian 8
- name: restart php5-fpm
service: name=php5-fpm state=restarted
# For Ubuntu 16.04
- name: reload php7.0-fpm
systemd: name=php7.0-fpm state=reloaded
# vim: set ts=2 sw=2: