mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 05:00:07 -03:30
Quick fix for jobs failing in dev environment / VMs
The other alternative here is to go all the way with https://github.com/ansible/ansible-runner/pull/617, which is proving to be difficult if not impossible.
This commit is contained in:
@@ -906,7 +906,8 @@ class BaseTask(object):
|
|||||||
image = instance.execution_environment.image
|
image = instance.execution_environment.image
|
||||||
params = {
|
params = {
|
||||||
"container_image": image,
|
"container_image": image,
|
||||||
"process_isolation": True
|
"process_isolation": True,
|
||||||
|
"container_options": ['--user=root'],
|
||||||
}
|
}
|
||||||
if settings.AWX_PROOT_SHOW_PATHS:
|
if settings.AWX_PROOT_SHOW_PATHS:
|
||||||
params['container_volume_mounts'] = []
|
params['container_volume_mounts'] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user