- 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