ansible-infra/roles/nginx/handlers/main.yaml

11 lines
204 B
YAML
Raw Permalink Normal View History

- name: Restart `nginx.service`
ansible.builtin.systemd:
name: nginx.service
state: restarted
become: true
- name: apt-get update
ansible.builtin.apt:
update_cache: true
become: true