summaryrefslogtreecommitdiffstats
path: root/roles/calico/handlers/main.yml
blob: ed484c0dd4707edbc1d913ca58ab000f99092ae8 (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 container runtime
  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 is failed)
  retries: 3
  delay: 30