ansible-role-nginx/handlers/main.yml

10 lines
171 B
YAML

- name: reload nginx
ansible.builtin.service:
name: nginx
state: reloaded
- name: restart nginx
ansible.builtin.service:
name: nginx
state: restarted