Files @ 36d96a3fc472
Branch filter:

Location: majic-ansible-roles/roles/web_server/handlers/main.yml

branko
MAR-163: Ensure host.run is not suspectible to shell injection:

- Use host.run's built-in capability for handling parameter escaping
and insertion.
---

- name: Reload systemd
  systemd:
    daemon_reload: true

- name: Restart nginx
  service:
    name: nginx
    state: restarted

- name: Restart PHP-FPM
  service:
    name: "{{ php_fpm_service_name }}"
    state: restarted