main.yml 244 B

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