1
0
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:
Yanis Guenane 2019-03-26 12:21:53 +01:00
parent 07a9cd106e
commit fd50feb258
2 changed files with 2 additions and 0 deletions

View File

@ -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,

View File

@ -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,