UKCloud / openshift-deployment-ansible

3 stars 1 forks source link

Verify API on localhost during replace_certificates #179

Closed benbacon closed 3 years ago

benbacon commented 3 years ago

Previously the curl command to verify the API was available (post-restart) was targeting the LB which meant if a master was serving a cert signed by the old CA (as it hadn't been copied yet) the verification would fail and the remainder of the playbook wouldn't run.

This modifies the curl command to check the API service is running on localhost and to allow the remainder of the playbook to run.