]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: install python3-asyncssh copr repo on EL8 for cephadm 1885/head
authorMelissa <li.melissa.kun@gmail.com>
Mon, 26 Jul 2021 16:56:23 +0000 (12:56 -0400)
committerMelissa <li.melissa.kun@gmail.com>
Wed, 28 Jul 2021 01:46:52 +0000 (21:46 -0400)
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>
ansible/examples/slave.yml

index fa8423663ad977e6dbbefa3b525e813a16122659..78b887bcf2c2c1aa64473efe283e598e34b05c38 100644 (file)
         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([]) }}"