mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -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:
parent
8eb4dafb17
commit
9f39bab2b8
@ -906,7 +906,8 @@ class BaseTask(object):
|
||||
image = instance.execution_environment.image
|
||||
params = {
|
||||
"container_image": image,
|
||||
"process_isolation": True
|
||||
"process_isolation": True,
|
||||
"container_options": ['--user=root'],
|
||||
}
|
||||
if settings.AWX_PROOT_SHOW_PATHS:
|
||||
params['container_volume_mounts'] = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user