7 lines
263 B
Text
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 %}
|