13 lines
260 B
YAML
13 lines
260 B
YAML
---
|
|
|
|
- name: Deploy nomad configuration
|
|
template:
|
|
src: nomad.json.j2
|
|
dest: "{{ nomad_root_dir }}/etc/nomad.json"
|
|
owner: root
|
|
group: "{{ nomad_user }}"
|
|
mode: 640
|
|
validate: nomad config validate %s
|
|
notify: restart nomad
|
|
tags: nomad
|