updated pillar top

This commit is contained in:
Actaeus Curabitur 2022-09-08 07:06:42 -05:00
parent 07023cecbf
commit e9e986080d

View file

@ -1,8 +1,7 @@
prod: {%- set branches=salt.cmd.shell('git ls-remote https://git.actcur.com/actcur/salt.git | grep -o -P "(?<=refs/heads/).*" | grep -Pv "(^temp$)|(^history$)"').split('\n') -%}
'*': {%- for branch in branches %}
- roles {{branch}}:
- servers
dev:
'*': '*':
- roles - roles
- servers - servers
{%- endfor %}