mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
bwrap/runner: Add /etc/ssh in bind mounted folder
/etc/ssh is currently not bound when run into bwrap, this leads to error like "Bad owner or permissions on /etc/ssh/ssh_config.d/05-redhat.conf" since it cannot access this file. https://github.com/ansible/awx/pull/3391 was done pre runner integration. Fixes: https://github.com/ansible/awx/issues/3392 Signed-off-by: Yanis Guenane <yanis@guenane.org>
This commit is contained in:
parent
07a9cd106e
commit
fd50feb258
@ -818,6 +818,7 @@ class BaseTask(object):
|
||||
'process_isolation_hide_paths': [
|
||||
settings.AWX_PROOT_BASE_PATH,
|
||||
'/etc/tower',
|
||||
'/etc/ssh',
|
||||
'/var/lib/awx',
|
||||
'/var/log',
|
||||
settings.PROJECTS_ROOT,
|
||||
|
@ -452,6 +452,7 @@ class TestGenericRun():
|
||||
|
||||
for p in [settings.AWX_PROOT_BASE_PATH,
|
||||
'/etc/tower',
|
||||
'/etc/ssh',
|
||||
'/var/lib/awx',
|
||||
'/var/log',
|
||||
settings.PROJECTS_ROOT,
|
||||
|
Loading…
Reference in New Issue
Block a user