salt/states/roles/maintain/saltmaster/test
Actaeus Curabitur 6f03ab50a9 temp
2022-09-08 06:03:10 -05:00

7 lines
263 B
Text

{%- 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(' ') -%}
branches:
saltmaster:
- a
{%- for branch in branches %}
- {{branch}}
{% endfor %}