making names of tasks clearer in grokmirror update playbook
This commit is contained in:
parent
4f0a2a5488
commit
f7e9f5252d
1 changed files with 2 additions and 2 deletions
|
@ -8,12 +8,12 @@
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: update grokmirror repos
|
- name: update grokmirror repos to develop branches
|
||||||
when: deployment_type == 'stg' or deployment_type == 'dev'
|
when: deployment_type == 'stg' or deployment_type == 'dev'
|
||||||
command: chdir={{ grokmirror_basedir }}/{{ item.name }} git fetch origin master:master
|
command: chdir={{ grokmirror_basedir }}/{{ item.name }} git fetch origin master:master
|
||||||
with_items: grokmirror_repos
|
with_items: grokmirror_repos
|
||||||
|
|
||||||
- name: update grokmirror repos
|
- name: update grokmirror repos to master branches
|
||||||
when: deployment_type == 'prod'
|
when: deployment_type == 'prod'
|
||||||
command: chdir={{ grokmirror_basedir }}/{{ item.name }} git fetch origin master:master
|
command: chdir={{ grokmirror_basedir }}/{{ item.name }} git fetch origin master:master
|
||||||
with_items: grokmirror_repos
|
with_items: grokmirror_repos
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue