updated pillar top
This commit is contained in:
parent
07023cecbf
commit
e9e986080d
1 changed files with 4 additions and 5 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue