summaryrefslogtreecommitdiffstats
path: root/pillar/top.sls
diff options
context:
space:
mode:
Diffstat (limited to 'pillar/top.sls')
-rw-r--r--pillar/top.sls8
1 files changed, 3 insertions, 5 deletions
diff --git a/pillar/top.sls b/pillar/top.sls
index 872dc8b..3302bd8 100644
--- a/pillar/top.sls
+++ b/pillar/top.sls
@@ -4,11 +4,9 @@
{{ saltenv }}:
'*':
- common
- {% for role in roles %}
- 'roles:{{ role }}':
- - match: grain
- - role.{{ role }}
- {%- endfor %}
'{{ id }}':
- ignore_missing: True
- id.{{ id.replace('.', '_') }}
+ {% for role in roles %}
+ - role.{{ role }}
+ {%- endfor %}