From 1e92a67db6f5fa3f3284d5b1928f104c428187f3 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 20 Aug 2020 16:08:48 +0000 Subject: [PATCH] Revert "Ensure git is installed in prepare-workspace-git role" This is breaking jobs in zuul.ansible.com, as there is an issue with order with DNS. In our base jobs, we first configure ensure git repos are installed on the node, then configure the node for infra things like dns, package mirrors, etc. In our case, dns hasn't been fully configured, which makes the package install fail. I would propose we revert this change and re-release diskimage-builder. Or have git considered an image based dependency. A workaround for now has been to revert DIB, to rebuild images adding back git. However, this was exposed due to us missing one image. This reverts commit 5d09503c88a5538bf50f9f9974d276649b35d3d1. Change-Id: I533cbec83f7525175b9a94d70a61ba7424154aa6 --- roles/prepare-workspace-git/tasks/main.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/prepare-workspace-git/tasks/main.yaml b/roles/prepare-workspace-git/tasks/main.yaml index c367d4c13..9b0715d51 100644 --- a/roles/prepare-workspace-git/tasks/main.yaml +++ b/roles/prepare-workspace-git/tasks/main.yaml @@ -1,9 +1,3 @@ -- name: Ensure git is installed - package: - name: git - state: present - become: yes - - name: Find locally cached git repos stat: path: "{{ cached_repos_root }}/{{ zj_project.canonical_name }}"