Skip to content

Instantly share code, notes, and snippets.

@onlyanegg
Created June 27, 2017 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onlyanegg/26452c3b04281440b7466384a3c0e2f4 to your computer and use it in GitHub Desktop.
Save onlyanegg/26452c3b04281440b7466384a3c0e2f4 to your computer and use it in GitHub Desktop.
{% for pod in deploy.pods %}
download_{{ pod }}_artifacts:
salt.state:
- tgt: mgmt101.(pod1|gen).{{ environment }}.*
- tgt_type: pcre
- saltenv: common
- concurrent: True
- sls:
{%- for service in deploy.services %}
- download.{{ service }}
{%- endfor %}
- pillar:
pod: {{ pod }}
deploy_override: {{ deploy }}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment