blob: 2f83dd41b9241c89271f0b895e5f997816cd1d7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
- name: restart master
systemd: name={{ openshift.common.service_type }}-master state=restarted
when: (openshift.master.ha is not defined or not openshift.master.ha | bool) and (not (master_service_status_changed | default(false) | bool))
notify: Verify API Server
- name: Verify API Server
uri:
url: "{{ openshift.master.api_url }}/healthz/ready"
return_content: yes
status_code: 200
register: api_available_output
until: api_available_output | succeeded
retries: 120
delay: 1
changed_when: false
|