diff --git a/playbooks/zuul/gerrit/repos.yaml b/playbooks/zuul/gerrit/repos.yaml index 18f9b81812..2ba0ee4566 100644 --- a/playbooks/zuul/gerrit/repos.yaml +++ b/playbooks/zuul/gerrit/repos.yaml @@ -15,6 +15,16 @@ - unzip state: present + # Until Gerrit 3.5 we need to work around scripts looking for bare + # python instead of python3. + # https://gerrit-review.googlesource.com/c/gerrit/+/298903 + - name: Install python symlink + become: true + ansible.builtin.file: + src: /usr/bin/python3 + dest: /usr/bin/python + state: link + - name: Move common plugin repos into gerrit tree command: "mv -f {{ item }} ../gerrit/plugins" args: