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:
parent
adc6d02a6b
commit
7b6882ef34
@ -14,14 +14,26 @@
|
|||||||
- rsync
|
- rsync
|
||||||
when: ansible_pkg_mgr != 'unknown'
|
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
|
- name: Install sshpass from epel
|
||||||
shell: yum --enablerepo epel install sshpass -y
|
yum:
|
||||||
|
name: sshpass
|
||||||
|
enablerepo: epel8
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
dnf:
|
dnf:
|
||||||
name: >
|
name: >
|
||||||
git, gcc, redhat-rpm-config.noarch, openldap-devel,
|
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,
|
python3-pip, krb5-devel, sssd, sssd-kcm, libsss_sudo,
|
||||||
ldb-tools, sssd-tools, nss-tools, sssd-dbus, python3-devel
|
ldb-tools, sssd-tools, nss-tools, sssd-dbus, python3-devel
|
||||||
|
|
||||||
@ -63,7 +75,7 @@
|
|||||||
setuptools, pytz, paramiko, pep8, pylint,
|
setuptools, pytz, paramiko, pep8, pylint,
|
||||||
pytest-multihost, python-ldap, pytest, pyyaml
|
pytest-multihost, python-ldap, pytest, pyyaml
|
||||||
virtualenv: "{{ venv_dir }}"
|
virtualenv: "{{ venv_dir }}"
|
||||||
virtualenv_command: /usr/bin/virtualenv
|
virtualenv_command: python3 -m venv
|
||||||
|
|
||||||
- name: Find directory python searches for path
|
- name: Find directory python searches for path
|
||||||
shell: python3 -m site --user-site
|
shell: python3 -m site --user-site
|
||||||
|
Loading…
Reference in New Issue
Block a user