|
|
|
|
|
|
|
|
{%- do processed_basedirs.append(basedir) %} |
|
|
{%- do processed_basedirs.append(basedir) %} |
|
|
{{ basedir }}: |
|
|
{{ basedir }}: |
|
|
file.directory: |
|
|
file.directory: |
|
|
- parallel: {{ grains['saltversioninfo'] >= [2017, 7, 0] }} |
|
|
|
|
|
|
|
|
- parallel: {{ salt_settings.parallel }} |
|
|
{%- for key, value in salt['pillar.get']('salt_formulas:basedir_opts', |
|
|
{%- for key, value in salt['pillar.get']('salt_formulas:basedir_opts', |
|
|
{'makedirs': True}).items() %} |
|
|
{'makedirs': True}).items() %} |
|
|
- {{ key }}: {{ value }} |
|
|
- {{ key }}: {{ value }} |
|
|
|
|
|
|
|
|
{{ gitdir_env }}: |
|
|
{{ gitdir_env }}: |
|
|
git.latest: |
|
|
git.latest: |
|
|
- name: {{ baseurl }}/{{ f_name }}.git |
|
|
- name: {{ baseurl }}/{{ f_name }}.git |
|
|
- parallel: {{ grains['saltversioninfo'] >= [2017, 7, 0] }} |
|
|
|
|
|
|
|
|
- parallel: {{ salt_settings.parallel }} |
|
|
- target: {{ gitdir }} |
|
|
- target: {{ gitdir }} |
|
|
{%- for key, value in options.items() %} |
|
|
{%- for key, value in options.items() %} |
|
|
- {{ key }}: {{ value }} |
|
|
- {{ key }}: {{ value }} |