Files @ b4004db97776
Branch filter:

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

branko
MAR-218: Fix incorrect logic for switching directory:

- No piping can be used (since that would be a subshell and would not
affect the working directory for the remainder of the script run).
---

- name: Reload systemd
  ansible.builtin.systemd:
    daemon_reload: true

- name: Restart nginx
  ansible.builtin.service:
    name: nginx
    state: restarted

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