Commit e478721869a547eee7c709539400251eab4fd204
formatting
Michael Williams committed on 12/23/2017, 1:29:42 PMParent: 1572d84eb2c2ae8ff7104de475dcbacbfafe818d
Files changed
salt/state/top.sls | changed |
salt/state/top.sls | ||
---|---|---|
@@ -1,7 +1,8 @@ | ||
1 | 1 … | production: |
2 | 2 … | '*': |
3 | 3 … | - agents |
4 … | + | |
4 | 5 … | {% set roles = salt['grains.get']('roles', []) -%} |
5 | 6 … | {% for role in roles -%} |
6 | 7 … | 'roles:{{ role }}': |
7 | 8 … | - match: grain |
@@ -11,5 +12,6 @@ | ||
11 | 12 … | - salt.minion |
12 | 13 … | {% else %} |
13 | 14 … | - {{ role }} |
14 | 15 … | {% endif %} |
15 | - {% endfor -%} | |
16 … | + | |
17 … | + {% endfor %} |
Built with git-ssb-web