diff --git a/nomad/setup-cluster.yml b/nomad/setup-cluster.yml index 12f924a..4e1d909 100644 --- a/nomad/setup-cluster.yml +++ b/nomad/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