]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ignore when adding 'origin' fails as it may already exist
authorAlfredo Deza <adeza@redhat.com>
Wed, 28 Oct 2015 12:28:51 +0000 (08:28 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 28 Oct 2015 12:28:51 +0000 (08:28 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ansible/roles/ceph-release/tasks/main.yml

index a8aebaf9bb0022243e6f3711e82475f9dcb6a5a4..53c81458b0537c718f80789af04e1685c3f15bd8 100644 (file)
@@ -14,6 +14,8 @@
 
 - name: add origin
   command: git remote add origin git@github.com:ceph/ceph-releases.git chdir=ceph
+  # because if the repo exists then it probably has the origin already in there
+  ignore_errors: yes
 
 - name: clear the previous local tag
   command: git tag -d v{{ version }} chdir=ceph