--- - name: restart docker service: name: docker state: restarted enabled: yes