Switch back to built-in kubectl connection plugin

There's a bug in the upstream community.kubernetes plugin. We can open up a
follow-up PR once that has been patched.
This commit is contained in:
Shane McDonald 2020-08-20 21:42:07 -04:00
parent a659b9d994
commit 8ae328e427
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -58,7 +58,7 @@ class IsolatedManager(object):
os.chmod(temp.name, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
for host in hosts:
inventory['all']['hosts'][host] = {
"ansible_connection": "community.kubernetes.kubectl",
"ansible_connection": "kubectl",
"ansible_kubectl_config": path,
}
else: