From bd5a71c3da3bdf7724ae4905cf86139ec07cec6e Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Tue, 15 Mar 2022 12:23:37 -0700 Subject: [PATCH] Maybe dynamic nomad? --- setup-cluster.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup-cluster.yml b/setup-cluster.yml index 12f924a..4e1d909 100644 --- a/setup-cluster.yml +++ b/setup-cluster.yml @@ -182,6 +182,11 @@ ui_url: "http://{{ ansible_hostname }}:8500/ui" vault: ui_url: "http://{{ ansible_hostname }}:8200/ui" + consul: + tag: + - "traefik.enable=true" + - "traefik.consulcatalog.connect=true" + - "traefik.http.routers.nomadclient.entrypoints=websecure" tasks: - name: Start Nomad