consul
This commit is contained in:
@@ -15,6 +15,12 @@
|
||||
register: conf_update
|
||||
template:
|
||||
src: files/nomad.hcl.j2
|
||||
dest: /tmp/nomad.hcl
|
||||
dest: /etc/nomad.d/nomad.hcl
|
||||
|
||||
|
||||
- name: Restart nomad
|
||||
service:
|
||||
name: nomad
|
||||
state: restarted
|
||||
when: conf_update.changed
|
||||
|
||||
Reference in New Issue
Block a user