mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 12:40:06 -03:30
Add default container mounts to AWX_ISOLATION_SHOW_PATHS
This commit is contained in:
committed by
Alan Rominger
parent
32cc8e1a63
commit
a5b888c193
@@ -38,7 +38,10 @@ def test_jobs_settings(get, put, patch, delete, admin):
|
|||||||
data.pop('AWX_ANSIBLE_CALLBACK_PLUGINS')
|
data.pop('AWX_ANSIBLE_CALLBACK_PLUGINS')
|
||||||
put(url, user=admin, data=data, expect=200)
|
put(url, user=admin, data=data, expect=200)
|
||||||
response = get(url, user=admin, expect=200)
|
response = get(url, user=admin, expect=200)
|
||||||
assert response.data['AWX_ISOLATION_SHOW_PATHS'] == []
|
assert response.data['AWX_ISOLATION_SHOW_PATHS'] == [
|
||||||
|
'/etc/pki/ca-trust:/etc/pki/ca-trust:O',
|
||||||
|
'/usr/share/pki:/usr/share/pki:O',
|
||||||
|
]
|
||||||
assert response.data['AWX_ANSIBLE_CALLBACK_PLUGINS'] == []
|
assert response.data['AWX_ANSIBLE_CALLBACK_PLUGINS'] == []
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -589,7 +589,10 @@ GALAXY_IGNORE_CERTS = False
|
|||||||
|
|
||||||
# Additional paths to show for jobs using process isolation.
|
# Additional paths to show for jobs using process isolation.
|
||||||
# Note: This setting may be overridden by database settings.
|
# Note: This setting may be overridden by database settings.
|
||||||
AWX_ISOLATION_SHOW_PATHS = []
|
AWX_ISOLATION_SHOW_PATHS = [
|
||||||
|
'/etc/pki/ca-trust:/etc/pki/ca-trust:O',
|
||||||
|
'/usr/share/pki:/usr/share/pki:O',
|
||||||
|
]
|
||||||
|
|
||||||
# The directory in which the service will create new temporary directories for job
|
# The directory in which the service will create new temporary directories for job
|
||||||
# execution and isolation (such as credential files and custom
|
# execution and isolation (such as credential files and custom
|
||||||
|
|||||||
Reference in New Issue
Block a user