- ---
- - name: restart master
- service: name={{ openshift.common.service_type }}-master state=restarted
- when: (not openshift_master_ha | bool) and (not master_service_status_changed | default(false))
- - name: restart master api
- service: name={{ openshift.common.service_type }}-master-api state=restarted
- when: openshift_master_ha | bool
- # TODO: need to fix up ignore_errors here
- - name: restart master controllers
- service: name={{ openshift.common.service_type }}-master-controllers state=restarted
- when: openshift_master_ha | bool
- ignore_errors: yes
|