I am trying to install AWX on AKS . Once i lost the remote when i am trying to install AWX over it.Rest remaining time I wont lost the remote not a single time .
When i am running this command over AKS
ansible-playbook -i inventory install.yml -vvv
Below error is for your reference.
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "kubectl create namespace awx",
"delta": "0:00:00.065356",
"end": "2021-06-11 10:22:58.132373",
"invocation": {
"module_args": {
"_raw_params": "kubectl create namespace awx",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2021-06-11 10:22:58.067017",
"stderr": "The connection to the server localhost:8080 was refused - did you specify the right host or port?",
"stderr_lines": [
"The connection to the server localhost:8080 was refused - did you specify the right host or port?"
],
"stdout": "",
"stdout_lines": []
}
please suggest me what we can do this .