salt/pillars/top.sls

8 lines
261 B
Text
Raw Normal View History

{%- 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 %}
{{branch}}:
2017-08-07 13:25:01 -05:00
'*':
- roles
- servers
{%- endfor %}