ansible-infra/roles/nginx/handlers/main.yaml
June 938ca6d786
nginx(role): remove unnecessary apt-get update step
The nginx package gets installed with "update_cache: true" afterwards
anyway, so the apt-get update step shouldn't be necessary.
2025-02-18 02:59:00 +01:00

5 lines
119 B
YAML

- name: Restart `nginx.service`
ansible.builtin.systemd:
name: nginx.service
state: restarted
become: true