2022-07-21 01:00:17 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Deploy nomad configuration
|
2022-07-23 14:00:15 +02:00
|
|
|
template:
|
2022-07-29 15:00:16 +02:00
|
|
|
src: nomad.hcl.j2
|
|
|
|
dest: "{{ nomad_root_dir }}/etc/nomad.hcl"
|
2022-07-23 14:00:15 +02:00
|
|
|
owner: root
|
|
|
|
group: "{{ nomad_user }}"
|
2022-07-29 15:00:16 +02:00
|
|
|
mode: 0640
|
2022-07-23 14:00:15 +02:00
|
|
|
validate: nomad config validate %s
|
2022-07-21 01:00:17 +02:00
|
|
|
notify: restart nomad
|
|
|
|
tags: nomad
|