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

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