diff --git a/tests/sssd-tasks.yml b/tests/sssd-tasks.yml index e4a0c30..372320a 100644 --- a/tests/sssd-tasks.yml +++ b/tests/sssd-tasks.yml @@ -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