aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/nomad/tasks
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2020-05-22 14:46:43 +0000
committerPeter Mikus <pmikus@cisco.com>2020-05-22 14:52:10 +0000
commit216073ac4b05619d9e9fc73131075597196af753 (patch)
tree3d5976c760a434c346575be598a1362a1a0f664e /resources/tools/testbed-setup/ansible/roles/nomad/tasks
parentae80dfa4c98049d96163b6ad3d67221a7851ba4b (diff)
Infra: Ansible Nomad II
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Iaa5c02d14223b578c316f48e31a0b3613303eecf
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/nomad/tasks')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml14
1 files changed, 12 insertions, 2 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml
index 9093afd08e..fa95d645fd 100644
--- a/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml
@@ -127,6 +127,16 @@
tags:
- nomad-conf
+- name: Conf - TLS Configuration
+ template:
+ src: tls.hcl.j2
+ dest: "{{ nomad_config_dir }}/tls.hcl"
+ owner: "{{ nomad_user }}"
+ group: "{{ nomad_group }}"
+ mode: 0644
+ tags:
+ - nomad-conf
+
- name: Conf - Custom Configuration
template:
src: custom.json.j2
@@ -158,7 +168,7 @@
owner: "root"
group: "root"
mode: 0644
- notify:
- - "Restart Nomad"
+# notify:
+# - "Restart Nomad"
tags:
- nomad-conf