summaryrefslogtreecommitdiffstats
path: root/salt/top.sls
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-22 16:52:22 +0100
committerGeorg Pfuetzenreuter2023-01-22 16:55:55 +0100
commitcce6cce594df23b909d6b6160699533de48200bb (patch)
treefd1a1fc82523b85baaf94814ebb38bf7ececc3ef /salt/top.sls
parent0efd688151a3f93cda226e6bc86490a6f3110ba1 (diff)
downloadsalt-cce6cce594df23b909d6b6160699533de48200bb.tar.gz
salt-cce6cce594df23b909d6b6160699533de48200bb.tar.bz2
salt-cce6cce594df23b909d6b6160699533de48200bb.zip
Use central machine-roles endpoint
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'salt/top.sls')
-rw-r--r--salt/top.sls2
1 files changed, 1 insertions, 1 deletions
diff --git a/salt/top.sls b/salt/top.sls
index 6b92f79..4a5cbcf 100644
--- a/salt/top.sls
+++ b/salt/top.sls
@@ -1,5 +1,5 @@
{%- set id = salt['grains.get']('id') -%}
-{%- set roles = salt['http.query']('http://127.0.0.1:5000/roles', decode=True, decode_type='json', params={"machine": id})['dict']['roles'] -%}
+{%- set roles = salt['http.query']('http://machine-roles.lysergic.dev:4580/roles', decode=True, decode_type='json', params={"machine": id})['dict']['roles'] -%}
{{ saltenv }}:
'*':