aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nomad/templates
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-09-12 10:03:48 +0200
committerQuentin <quentin@deuxfleurs.fr>2020-09-12 10:03:48 +0200
commitc4a6cf1534b864d3941c839d4a4dca7e505bd828 (patch)
tree3e866768cf39ae947def5b205f74fddfb435725d /ansible/roles/nomad/templates
parent0550647b9348d1e36431400e0832b4340564c658 (diff)
downloadinfrastructure-c4a6cf1534b864d3941c839d4a4dca7e505bd828.tar.gz
infrastructure-c4a6cf1534b864d3941c839d4a4dca7e505bd828.zip
Rebase first step
Diffstat (limited to 'ansible/roles/nomad/templates')
-rw-r--r--ansible/roles/nomad/templates/nomad.hcl.j234
1 files changed, 0 insertions, 34 deletions
diff --git a/ansible/roles/nomad/templates/nomad.hcl.j2 b/ansible/roles/nomad/templates/nomad.hcl.j2
deleted file mode 100644
index b0be6a8..0000000
--- a/ansible/roles/nomad/templates/nomad.hcl.j2
+++ /dev/null
@@ -1,34 +0,0 @@
-addresses {
- http = "0.0.0.0"
- rpc = "0.0.0.0"
- serf = "0.0.0.0"
-}
-
-advertise {
- http = "{{ public_ip }}"
- rpc = "{{ public_ip }}"
- serf = "{{ public_ip }}"
-}
-
-data_dir = "/var/lib/nomad"
-
-server {
- enabled = true
- bootstrap_expect = 3
-}
-
-consul {
- address="127.0.0.1:8500"
-}
-
-client {
- enabled = true
- #cpu_total_compute = 4000
- servers = ["127.0.0.1:4648"]
- network_interface = "{{ interface }}"
- options {
- docker.privileged.enabled = "true"
- docker.volumes.enabled = "true"
- }
-}
-