mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Wire up --pull option for EEs
This commit is contained in:
parent
883fa4906a
commit
befc658042
@ -909,6 +909,11 @@ class BaseTask(object):
|
||||
"process_isolation": True,
|
||||
"container_options": ['--user=root'],
|
||||
}
|
||||
|
||||
pull = instance.execution_environment.pull
|
||||
if pull:
|
||||
params['container_options'].append(f'--pull={pull}')
|
||||
|
||||
if settings.AWX_PROOT_SHOW_PATHS:
|
||||
params['container_volume_mounts'] = []
|
||||
for this_path in settings.AWX_PROOT_SHOW_PATHS:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user