Skip to content

Commit 81dcd04

Browse files
authored
Merge pull request #13 from remerge/increase-max_kill_timeout-to-10m
increase max_kill_timeout to 10m
2 parents 2edb589 + 7a8cf24 commit 81dcd04

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

defaults/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ nomad_client: false
3333
nomad_client_node_class: worker
3434
nomad_client_host_volumes: []
3535
nomad_client_host_networks: []
36+
nomad_client_max_kill_timeout: 5m
3637
nomad_docker_auth_enabled: false
3738
nomad_docker_auth_file: /root/.docker/config.json

templates/client.hcl.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ client {
55
node_class = "{{ nomad_client_node_class }}"
66

77
no_host_uuid = true
8-
max_kill_timeout = "30s"
8+
max_kill_timeout = "{{ nomad_client_max_kill_timeout }}"
99

1010
{% if nomad_client_network_interface is defined %}
1111
network_interface = "{{ nomad_client_network_interface }}"

0 commit comments

Comments
 (0)