Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Infra: Cleanup Nomad configs
[csit.git]
/
fdio.infra.ansible
/
roles
/
nomad
/
tasks
/
main.yaml
diff --git
a/fdio.infra.ansible/roles/nomad/tasks/main.yaml
b/fdio.infra.ansible/roles/nomad/tasks/main.yaml
index
63025a6
..
997b1e9
100644
(file)
--- a/
fdio.infra.ansible/roles/nomad/tasks/main.yaml
+++ b/
fdio.infra.ansible/roles/nomad/tasks/main.yaml
@@
-150,15
+150,13
@@
tags:
- nomad-conf
tags:
- nomad-conf
-- name: Conf - C
ustom
Configuration
+- name: Conf - C
onsul
Configuration
template:
template:
- src: c
ustom.json
.j2
- dest: "{{ nomad_config_dir }}/c
ustom.json
"
+ src: c
onsul.hcl
.j2
+ dest: "{{ nomad_config_dir }}/c
onsul.hcl
"
owner: "{{ nomad_user }}"
group: "{{ nomad_group }}"
mode: 0644
owner: "{{ nomad_user }}"
group: "{{ nomad_group }}"
mode: 0644
- when:
- - nomad_config_custom is defined
tags:
- nomad-conf
tags:
- nomad-conf