making names of tasks clearer in grokmirror update playbook

This commit is contained in:
Tim Flink 2015-08-19 17:03:00 +00:00
parent 4f0a2a5488
commit f7e9f5252d

View file

@ -8,12 +8,12 @@
gather_facts: false
tasks:
- name: update grokmirror repos
- name: update grokmirror repos to develop branches
when: deployment_type == 'stg' or deployment_type == 'dev'
command: chdir={{ grokmirror_basedir }}/{{ item.name }} git fetch origin master:master
with_items: grokmirror_repos
- name: update grokmirror repos
- name: update grokmirror repos to master branches
when: deployment_type == 'prod'
command: chdir={{ grokmirror_basedir }}/{{ item.name }} git fetch origin master:master
with_items: grokmirror_repos