main.yml 221 B

123456789101112
  1. ---
  2. - name: restart docker
  3. service:
  4. name: docker
  5. state: restarted
  6. when: not docker_service_status_changed | default(false) | bool
  7. - name: restart udev
  8. service:
  9. name: systemd-udevd
  10. state: restarted