Add epel 8 repo link for sshpass

Resolves: rhbz#1954686
epel 9 is not availabe yet. epel 8 was removed from the rhel9 compose,
so added task in playbook to add epel 8 repo.
Pacakge python3-virtualenv is removed from rhel9. Removed it from list
of packages to install
This commit is contained in:
Steeve Goveas 2021-07-30 15:22:58 +05:30
parent adc6d02a6b
commit 7b6882ef34

View File

@ -14,14 +14,26 @@
- rsync
when: ansible_pkg_mgr != 'unknown'
- name: Add epel repo
yum_repository:
name: epel8
file: epel8
description: EPEL Repo of RHEL 8 because RHEL 9 is not available
baseurl: https://download.fedoraproject.org/pub/epel/8/Everything/x86_64/
enabled: no
gpgcheck: no
- name: Install sshpass from epel
shell: yum --enablerepo epel install sshpass -y
yum:
name: sshpass
enablerepo: epel8
state: present
- name: Install required packages
dnf:
name: >
git, gcc, redhat-rpm-config.noarch, openldap-devel,
openldap-clients, dbus-tools, python3-virtualenv, make,
openldap-clients, dbus-tools, make,
python3-pip, krb5-devel, sssd, sssd-kcm, libsss_sudo,
ldb-tools, sssd-tools, nss-tools, sssd-dbus, python3-devel
@ -63,7 +75,7 @@
setuptools, pytz, paramiko, pep8, pylint,
pytest-multihost, python-ldap, pytest, pyyaml
virtualenv: "{{ venv_dir }}"
virtualenv_command: /usr/bin/virtualenv
virtualenv_command: python3 -m venv
- name: Find directory python searches for path
shell: python3 -m site --user-site