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

10 lines
204 B
YAML

- 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