From 4a0e190cc7a85d37f9470edbce0b0e0463722b8c Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 18 May 2022 17:56:22 -0400 Subject: [PATCH] ceph-tag: Fix paths and order Signed-off-by: David Galloway --- ansible/roles/ceph-release/tasks/push.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ansible/roles/ceph-release/tasks/push.yml b/ansible/roles/ceph-release/tasks/push.yml index 023fc13f4..136fe09fc 100644 --- a/ansible/roles/ceph-release/tasks/push.yml +++ b/ansible/roles/ceph-release/tasks/push.yml @@ -3,23 +3,23 @@ # We want to make sure packages get pulled, signed, and pushed before publicly # pushing the security fix. Pushing tags will be done manually by a human. +- name: clone the ceph repository + git: + repo: git@github.com:ceph/ceph.git + dest: ceph + remote: upstream + accept_hostkey: yes + recursive: no + # the colon appended to the v{{ version }} tag removes the previous tag # https://git-scm.com/docs/git-push#Documentation/git-push.txt--d - name: clear the previous remote tag - command: git push origin :v{{ version }} + command: git push upstream :v{{ version }} args: chdir: ceph ignore_errors: yes when: tag|bool is true -- name: clone the ceph repository - git: - repo: https://github.com/ceph/ceph - dest: ceph - remote: upstream - accept_hostkey: yes - recursive: no - - name: add releases repo command: git remote add -f releases git@github.com:ceph/ceph-releases.git args: @@ -42,7 +42,7 @@ chdir: ceph - name: "git checkout {{ branch }}" - command: git checkout {{ branch }} + command: git checkout upstream/{{ branch }} args: chdir: ceph -- 2.47.3