Files @ a932640479cf
Branch filter:

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

branko
MAR-152: Fix idempotence issues with web_server role:

- Reload configuration of PHP-FPM to ensure changes are picked-up.
- Install base packages for PHP applications prior to creating the
directory containing unix socket files (so the package installation
would not change them back).
---

- 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