Use central machine-roles endpoint
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
0efd688151
commit
cce6cce594
@ -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 }}:
|
||||
'*':
|
||||
|
@ -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 }}:
|
||||
'*':
|
||||
|
Loading…
Reference in New Issue
Block a user