mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-08-09 13:00
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
data_dir = "{{ nomad_root_dir }}/data"
|
||||
plugin_dir = "{{ nomad_root_dir }}/plugins"
|
||||
log_level = "{{ nomad_conf.log_level }}"
|
||||
bind_addr = "0.0.0.0"
|
||||
|
||||
{% if nomad_conf.datacenter is defined %}
|
||||
|
@@ -9,7 +9,7 @@ ConditionFileNotEmpty={{ nomad_root_dir }}/etc/nomad.hcl
|
||||
EnvironmentFile=-{{ nomad_root_dir }}/etc/nomad.env
|
||||
User={{ nomad_user }}
|
||||
Group={{ nomad_user }}
|
||||
ExecStart={{ nomad_root_dir }}/bin/nomad agent -config={{ nomad_root_dir }}/etc/nomad.hcl
|
||||
ExecStart={{ nomad_root_dir }}/bin/nomad agent -config={{ nomad_root_dir }}/etc/
|
||||
ExecReload=/bin/kill --signal HUP $MAINPID
|
||||
SuccessExitStatus=1
|
||||
Restart=on-failure
|
||||
|
1
roles/nomad/templates/reload.hcl.j2
Normal file
1
roles/nomad/templates/reload.hcl.j2
Normal file
@@ -0,0 +1 @@
|
||||
log_level = "{{ nomad_conf.log_level }}"
|
Reference in New Issue
Block a user