mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-17 20:38:42 +00:00
parent
ab9fb3f604
commit
2bf46c2eb2
@ -84,8 +84,8 @@
|
|||||||
build:
|
build:
|
||||||
path: "{{ output_dir }}/files"
|
path: "{{ output_dir }}/files"
|
||||||
container_limits:
|
container_limits:
|
||||||
memory: 5000000
|
memory: 7000000
|
||||||
memswap: 7000000
|
memswap: 8000000
|
||||||
pull: no
|
pull: no
|
||||||
source: build
|
source: build
|
||||||
register: container_limits_2
|
register: container_limits_2
|
||||||
@ -101,10 +101,10 @@
|
|||||||
# It *sometimes* happens that the first task does not fail.
|
# It *sometimes* happens that the first task does not fail.
|
||||||
# For now, we work around this by
|
# For now, we work around this by
|
||||||
# a) requiring that if it fails, the message must
|
# a) requiring that if it fails, the message must
|
||||||
# contain 'Minimum memory limit allowed is 4MB', and
|
# contain 'Minimum memory limit allowed is (4|6)MB', and
|
||||||
# b) requiring that either the first task, or the second
|
# b) requiring that either the first task, or the second
|
||||||
# task is changed, but not both.
|
# task is changed, but not both.
|
||||||
- "not container_limits_1 is failed or ('Minimum memory limit allowed is 4MB') in container_limits_1.msg"
|
- "not container_limits_1 is failed or ('Minimum memory limit allowed is ') in container_limits_1.msg"
|
||||||
- "container_limits_1 is changed or container_limits_2 is changed and not (container_limits_1 is changed and container_limits_2 is changed)"
|
- "container_limits_1 is changed or container_limits_2 is changed and not (container_limits_1 is changed and container_limits_2 is changed)"
|
||||||
|
|
||||||
####################################################################
|
####################################################################
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user