mirror of
https://github.com/ansible/awx.git
synced 2026-03-17 08:57:33 -02:30
Fix yet another host vs container path bug
This commit is contained in:
committed by
Shane McDonald
parent
015fc29c1c
commit
49bdadcdbf
@@ -105,7 +105,8 @@ def openstack(cred, env, private_data_dir):
|
|||||||
yaml.safe_dump(openstack_data, f, default_flow_style=False, allow_unicode=True)
|
yaml.safe_dump(openstack_data, f, default_flow_style=False, allow_unicode=True)
|
||||||
f.close()
|
f.close()
|
||||||
os.chmod(path, stat.S_IRUSR | stat.S_IWUSR)
|
os.chmod(path, stat.S_IRUSR | stat.S_IWUSR)
|
||||||
env['OS_CLIENT_CONFIG_FILE'] = path
|
# TODO: constant for container base path
|
||||||
|
env['OS_CLIENT_CONFIG_FILE'] = os.path.join('/runner', os.path.basename(path))
|
||||||
|
|
||||||
|
|
||||||
def kubernetes_bearer_token(cred, env, private_data_dir):
|
def kubernetes_bearer_token(cred, env, private_data_dir):
|
||||||
|
|||||||
Reference in New Issue
Block a user