mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Set memory-swap to memory (#38836)
This commit is contained in:
parent
265d838ec9
commit
694d6b339c
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ def delegate_docker(args, exclude, require):
|
||||||
if args.docker_memory:
|
if args.docker_memory:
|
||||||
test_options.extend([
|
test_options.extend([
|
||||||
'--memory=%d' % args.docker_memory,
|
'--memory=%d' % args.docker_memory,
|
||||||
'--memory-swap=0',
|
'--memory-swap=%d' % args.docker_memory,
|
||||||
])
|
])
|
||||||
|
|
||||||
docker_socket = '/var/run/docker.sock'
|
docker_socket = '/var/run/docker.sock'
|
||||||
|
|
Loading…
Reference in a new issue