From 733be223a72951db7e66eac0f28e379d83da54bd Mon Sep 17 00:00:00 2001
From: Melissa
Date: Mon, 26 Jul 2021 12:56:23 -0400
Subject: [PATCH] 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
---
ansible/examples/slave.yml | 9 +++++++++
1 file changed, 9 insertions(+)
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([]) }}"
--
2.47.3