From cce6cce594df23b909d6b6160699533de48200bb Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 22 Jan 2023 16:52:22 +0100 Subject: Use central machine-roles endpoint Signed-off-by: Georg Pfuetzenreuter --- pillar/top.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pillar') diff --git a/pillar/top.sls b/pillar/top.sls index 13efc78..d4c7639 100644 --- a/pillar/top.sls +++ b/pillar/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 }}: '*': -- cgit v1.2.3