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 5d09503c88.

Change-Id: I533cbec83f7525175b9a94d70a61ba7424154aa6
This commit is contained in:
Paul Belanger 2020-08-20 16:08:48 +00:00
parent 5d09503c88
commit 1e92a67db6
1 changed files with 0 additions and 6 deletions

View File

@ -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 }}"