summaryrefslogtreecommitdiffstats
path: root/roles/calico/handlers/main.yml
blob: 67fc0065f5e1c4cf4d930f6b09c1a0e267ce3e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: restart calico
  become: yes
  systemd: name=calico state=restarted

- name: restart docker
  become: yes
  systemd:
    name: "{{ openshift.docker.service_name }}"
    state: restarted
  register: l_docker_restart_docker_in_calico_result
  until: not l_docker_restart_docker_in_calico_result | failed
  retries: 3
  delay: 30