Switch to python3 for ansible

This commit is contained in:
2020-02-23 14:24:53 +01:00
parent 1e55b2c301
commit f2718fe15a
2 changed files with 3 additions and 4 deletions

View File

@@ -15,8 +15,7 @@ clean:
$(ansible): venv
venv:
command -v virtualenv || sudo dnf install -y python3-virtualenv || sudo apt-get -y install virtualenv
virtualenv --no-site-packages --python=python2 $(venv)
python3 -m venv $(venv)
$(activate) && $(pip) install -r $(requirements)
freeze:

View File

@@ -18,8 +18,8 @@
dnf:
state: installed
name:
- python2-libselinux
- policycoreutils-python
- python3-libselinux
- policycoreutils-python-utils
become: true
when: distro == 'fedora'