Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not remove .kube directory without setup_minishift
Let say you already configure your cluster localy and have client certificate for system:admin in ~/.kube/config and also session for developer user. Removing directory results in failure for "setup_minishift: false" TASK [os_temps : Login to the Openshift cluster with a token] ****************************************** skipping: [localhost] TASK [os_temps : Login to the Openshift cluster with a username and a password] ************************ fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/root/.minishift/cache/oc/v3.11.0/linux/oc", " login", "", "--username=developer", "--password=developer", "--insecure-skip-tls-verify=true"], "delta": "0:00:00.166926", "end": "2020-09-09 07:13:59.272772", "msg": "non-zero return code", "rc": 1, "start": "2020-09-09 07:13:59.105846", "stderr": "error: tls: either ServerName or InsecureSkipVerify must be sp ecified in the tls.Config", "stderr_lines": ["error: tls: either ServerName or InsecureSkipVerify must b e specified in the tls.Config"], "stdout": "", "stdout_lines": []} PLAY RECAP ********************************************************************************************* localhost : ok=25 changed=16 unreachable=0 failed=1 skipped=83 rescued=0 ignored=3
- Loading branch information