Repair undefined id #55

Merged
Georg merged 1 commits from common-id-var into production 2023-04-30 20:14:33 +02:00

View File

@ -1,4 +1,4 @@
{%- set roles = salt['http.query']('http://machine-roles.lysergic.dev:4580/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": grains['id']})['dict']['roles'] -%}
include:
{#- drop pillar check after all firewall configurations have been imported #}