install the copr repo so we can install the `python3-asyncssh` dependency for non-containerized tests
Fixes: https://tracker.ceph.com/issues/44676
Signed-off-by: Melissa Li <li.melissa.kun@gmail.com>
enablerepo: epel
when: ansible_os_family == "RedHat"
+ # This repo has the python-asyncssh EL8 package that cephadm depends on, which is not yet present in EPEL8
+ - name: Enable EL8 python3-asyncssh copr repo
+ command: "dnf -y copr enable ceph/python3-asyncssh"
+ when:
+ - ansible_os_family == "RedHat"
+ - ansible_distribution_major_version|int == 8
+ tags:
+ - copr
+
- name: Install Suse RPMs
zypper:
name: "{{ zypper_rpms + zypper_libvirt_rpms|default([]) }}"