Skip to content

Instantly share code, notes, and snippets.

Created July 26, 2018 13:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save nbeernink/679b8c0bc635158b0ea4dfb96e10c7c5 to your computer and use it in GitHub Desktop.
- hosts: all
become: yes
- name: Ensure critical systems are more resilient
dest: "/usr/lib/systemd/system/{{ item }}/reload-on-fail.conf"
content: |
- plesk-php56-fpm.service.d
- plesk-php70-fpm.service.d
- plesk-php71-fpm.service.d
- plesk-php72-fpm.service.d
- name: Execute systemd daemon-reload
systemd: daemon_reload=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment