--- - name: Restart docker ansible.builtin.service: name: docker state: restarted become: true