Skip to content

Commit 8b30560

Browse files
author
Anandkumar Patel
committed
always limit memory to 1g for kill start containers
1 parent a6c64e0 commit 8b30560

File tree

1 file changed

+1
-3
lines changed
  • ansible/roles/container_kill_start/tasks

1 file changed

+1
-3
lines changed

ansible/roles/container_kill_start/tasks/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@
6868
become: yes
6969
command: |
7070
docker run \
71-
{% if memory_hard_limit is defined %}
72-
--memory {{ memory_hard_limit | default ( "1g" ) }} \
73-
{% endif %}
71+
--memory {{ memory_hard_limit | default ( "1g" ) }} \
7472
--log-driver={{ log_driver }} \
7573
{% if log_driver == "syslog" %}
7674
--log-opt syslog-facility={{ log_facility }} \

0 commit comments

Comments
 (0)