updating grokmirror playbook so that it doesn't need -e
This commit is contained in:
parent
f6d19143ca
commit
ddd0c609d8
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# requires --extra-vars="target=hostspec"
|
||||
|
||||
- name: update grokmirror repos
|
||||
hosts: "{{ target }}"
|
||||
hosts: taskotron-dev:taskotron-stg:taskotron-prod
|
||||
sudo: true
|
||||
sudo_user: "{{ grokmirror_user }}"
|
||||
gather_facts: false
|
||||
|
@ -10,7 +10,7 @@
|
|||
tasks:
|
||||
- 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
|
||||
command: chdir={{ grokmirror_basedir }}/{{ item.name }} git fetch origin develop:develop
|
||||
with_items: grokmirror_repos
|
||||
|
||||
- name: update grokmirror repos to master branches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue