This commit is contained in:
2024-12-11 14:10:12 +01:00
parent cefb1e3a38
commit 9084080347
8 changed files with 204 additions and 2 deletions

View File

@@ -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