From 5887dc051bd6c607a27e66d564cb9aad4040220e Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 6 Dec 2018 22:59:51 -0500 Subject: [PATCH] Switch virtualenv_install_method to package Default to the distro version of virtualenv, we don't want to get into the process of managing this dependency. Change-Id: Ic10ff74ff1bdf99a2d37475abe5434eba3214d4b Signed-off-by: Paul Belanger --- inventory/testing/group_vars/all.yaml | 2 +- tests/playbooks/pre.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/inventory/testing/group_vars/all.yaml b/inventory/testing/group_vars/all.yaml index 9065f37..8d6fd7a 100644 --- a/inventory/testing/group_vars/all.yaml +++ b/inventory/testing/group_vars/all.yaml @@ -13,7 +13,7 @@ # under the License. --- # windmill.virtualenv -virtualenv_install_method: pip +virtualenv_install_method: package # windmill-config # TODO(pabelanger): Create windmill-config project on git.o.o. diff --git a/tests/playbooks/pre.yaml b/tests/playbooks/pre.yaml index aef07b0..8c4ad0e 100644 --- a/tests/playbooks/pre.yaml +++ b/tests/playbooks/pre.yaml @@ -13,6 +13,14 @@ regexp: ^extra-index-url state: absent + - name: Remove exclude from dnf.conf + become: true + lineinfile: + dest: /etc/dnf/dnf.conf + regexp: ^exclude + state: absent + when: ansible_os_family == 'RedHat' + - name: Bootstrap bindep environment args: chdir: "{{ windmill_src_dir }}"