From 5d9028a1de4c8ff7cd061b716445ad95f619d183 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 12 Aug 2020 11:56:23 -0500 Subject: [PATCH] Set the Ubuntu scenario for libvirtd --- .github/workflows/tox.yml | 2 +- galaxy.yml | 2 +- roles/libvirtd/molecule/ubuntu/playbook.yml | 2 ++ roles/libvirtd/molecule/ubuntu/requirements.txt | 1 - 4 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 roles/libvirtd/molecule/ubuntu/requirements.txt diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 80a2b58..c000485 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -74,7 +74,7 @@ jobs: run: | set -ex sudo apt-get update - sudo apt-get install -y libapt-pkg-dev build-essential python3-setuptools + sudo apt-get install -y libapt-pkg-dev build-essential python3-setuptools python3-apt python -m pip install --upgrade pip pip install -U setuptools wheel pip install tox tox-ansible diff --git a/galaxy.yml b/galaxy.yml index 5a963be..72e9031 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -9,7 +9,7 @@ namespace: oasis_roles name: system # The version of the collection. Must be compatible with semantic versioning -version: 1.1.1 +version: 1.1.2 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/roles/libvirtd/molecule/ubuntu/playbook.yml b/roles/libvirtd/molecule/ubuntu/playbook.yml index 1ff9e3e..735c43c 100644 --- a/roles/libvirtd/molecule/ubuntu/playbook.yml +++ b/roles/libvirtd/molecule/ubuntu/playbook.yml @@ -2,3 +2,5 @@ hosts: localhost roles: - role: libvirtd + vars: + ansible_python_interpreter: /usr/bin/python3 diff --git a/roles/libvirtd/molecule/ubuntu/requirements.txt b/roles/libvirtd/molecule/ubuntu/requirements.txt deleted file mode 100644 index d745a11..0000000 --- a/roles/libvirtd/molecule/ubuntu/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -git+https://git.launchpad.net/python-apt@1.8.y