Signed-off-by: Alfredo Deza <adeza@redhat.com>
# because if the repo exists then it probably has the origin already in there
ignore_errors: yes
+- name: reset --hard to upstream
+ command: git fetch
+ command: git reset --hard /{{ branch }}
+ ignore_errors: yes
+ when: clean
+
- name: clear the previous local tag
command: git tag -d v{{ version }} chdir=ceph
ignore_errors: yes
ignore_errors: yes
when: clean
-- name: reset --hard to upstream
- command: git fetch
- command: git reset --hard /{{ branch }}
- ignore_errors: yes
- when: clean
-
- name: force git checkout {{ branch }} branch
command: git checkout -f {{ branch }} chdir=ceph