main.yml 350 B

1234567891011121314
  1. ---
  2. - name: restart calico
  3. become: yes
  4. systemd: name=calico state=restarted
  5. - name: restart container runtime
  6. become: yes
  7. systemd:
  8. name: "{{ openshift_docker_service_name }}"
  9. state: restarted
  10. register: l_docker_restart_docker_in_calico_result
  11. until: not l_docker_restart_docker_in_calico_result | failed
  12. retries: 3
  13. delay: 30