Note I have these errors :
TASK [kubernetes : Set the Kubernetes Context] ************************************************************************************************************
task path: /root/Kub-awx-install.8.0.0/awx/installer/roles/kubernetes/tasks/kubernetes_auth.yml:2
changed: [localhost] => {“changed”: true, “cmd”: “kubectl config set-context awx-cluster”, “delta”: “0:00:00.075211”, “end”: “2019-11-05 15:58:11.832764”, “rc”: 0, “start”: “2019-11-05 15:58:11.757553”, “stderr”: “”, “stderr_lines”: , “stdout”: “Context "awx-cluster" created.”, “stdout_lines”: [“Context "awx-cluster" created.”]}
TASK [kubernetes : Get Namespace Detail] ******************************************************************************************************************
task path: /root/Kub-awx-install.8.0.0/awx/installer/roles/kubernetes/tasks/kubernetes.yml:2
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “kubectl get namespace awx”, “delta”: “0:00:00.211973”, “end”: “2019-11-05 15:58:12.257478”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-11-05 15:58:12.045505”, “stderr”: “error: the server doesn’t have a resource type "namespace"”, “stderr_lines”: [“error: the server doesn’t have a resource type "namespace"”], “stdout”: “”, “stdout_lines”: }
…ignoring
TASK [kubernetes : Create AWX Kubernetes Project] *********************************************************************************************************
task path: /root/Kub-awx-install.8.0.0/awx/installer/roles/kubernetes/tasks/kubernetes.yml:7
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “kubectl create namespace awx”, “delta”: “0:00:00.088935”, “end”: “2019-11-05 15:58:12.570872”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-11-05 15:58:12.481937”, “stderr”: “error: no matches for kind "Namespace" in version "v1"”, “stderr_lines”: [“error: no matches for kind "Namespace" in version "v1"”], “stdout”: “”, “stdout_lines”: }
PLAY RECAP ************************************************************************************************************************************************
localhost : ok=8 changed=2 unreachable=0 failed=1 skipped=40 rescued=0 ignored=1