From: Melissa
Date: Mon, 26 Jul 2021 16:56:23 +0000 (-0400)
Subject: ansible: install python3-asyncssh copr repo on EL8 for cephadm
X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1885%2Fhead;p=ceph-build.git
ansible: install python3-asyncssh copr repo on EL8 for cephadm
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
---
diff --git a/ansible/examples/slave.yml b/ansible/examples/slave.yml
index fa842366..78b887bc 100644
--- a/ansible/examples/slave.yml
+++ b/ansible/examples/slave.yml
@@ -434,6 +434,15 @@
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([]) }}"