1
0
Fork 0
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:
Matt Martz 2018-04-16 15:49:12 -05:00 committed by GitHub
parent 265d838ec9
commit 694d6b339c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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