From fe2a1a21b9931818807613ca43342719100e78d8 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 15 Jan 2023 17:06:29 +0100 Subject: Use traditional grains management Signed-off-by: Georg Pfuetzenreuter --- pillar/role/salt/minion.sls | 6 ------ 1 file changed, 6 deletions(-) (limited to 'pillar') diff --git a/pillar/role/salt/minion.sls b/pillar/role/salt/minion.sls index 9b1c850..0e0fb8a 100644 --- a/pillar/role/salt/minion.sls +++ b/pillar/role/salt/minion.sls @@ -1,11 +1,5 @@ -{%- set myconfig = pillar['netbox']['config_context'] -%} - salt: minion_remove_config: True minion: master_type: str master: {{ myconfig['salt_master'] }} - {%- if 'roles' in myconfig and myconfig['roles'] | length > 0 %} - grains: - roles: {{ myconfig['roles'] }} - {%- endif %} -- cgit v1.2.3