From: Alfredo Deza Date: Wed, 2 Dec 2015 18:16:24 +0000 (-0500) Subject: use the new tag_name in clear_version.yml to compare to last_commit.stdout X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cf048fbbb6f40c8623e09e152daf8b50b80e9055;p=ceph-build.git use the new tag_name in clear_version.yml to compare to last_commit.stdout Signed-off-by: Alfredo Deza --- diff --git a/ansible/roles/ceph-deploy-release/tasks/clear_version.yml b/ansible/roles/ceph-deploy-release/tasks/clear_version.yml index 7199829a..63adf731 100644 --- a/ansible/roles/ceph-deploy-release/tasks/clear_version.yml +++ b/ansible/roles/ceph-deploy-release/tasks/clear_version.yml @@ -2,7 +2,7 @@ - name: undo last commit from failed release command: git reset --soft HEAD~1 chdir=ceph-deploy - when: (clean and version in last_commit.stdout) + when: (clean and last_commit.stdout == tag_name) - name: git checkout {{ branch }} branch command: git checkout {{ branch }} chdir=ceph-deploy