summaryrefslogtreecommitdiffstats
path: root/roles/calico/handlers/main.yml
blob: 9cc0604a364e88d523ad861674ec8d1abc99b718 (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 | failed
  retries: 3
  delay: 30