mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Add seccomp support to ansible-test.
This commit is contained in:
@@ -651,6 +651,12 @@ def add_extra_docker_options(parser, integration=True):
|
||||
action='store_true',
|
||||
help='transfer git related files into the docker container')
|
||||
|
||||
docker.add_argument('--docker-seccomp',
|
||||
metavar='SC',
|
||||
choices=('default', 'unconfined'),
|
||||
default=None,
|
||||
help='set seccomp confinement for the test container: %(choices)s')
|
||||
|
||||
if not integration:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user