summaryrefslogtreecommitdiffstats
path: root/roles/docker/handlers/main.yml
blob: 866ed04529a87b4de8a734f3b2f91f9efed3dc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---

- name: restart docker
  systemd:
    name: "{{ openshift.docker.service_name }}"
    state: restarted
    daemon_reload: yes
  register: r_docker_restart_docker_result
  until: not r_docker_restart_docker_result | failed
  retries: 3
  delay: 30
  when: not docker_service_status_changed | default(false) | bool

- name: restart udev
  systemd:
    name: systemd-udevd
    state: restarted
    daemon_reload: yes