10 lines
204 B
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
|