mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 12:03:38 +08:00
making names of tasks clearer in grokmirror update playbook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user