ceph/cephadm-ansible

Using a custom repo only supports a single url, but two are needed

pcuzner opened this issue · 1 comments

Preflight installs ceph-common and cephadm which come from different repos - x86-64 and noarch. Running preflight with a custom setting only specifies a single repo which prevents a successful run.

0lzi commented

Link

docs show it should be put as a group/host var to define the multiple repo's

$ cat group_vars/all
---
ceph_custom_repositories:
  - name: ceph_custom_noarch
    state: present
    description: Ceph custom repo noarch
    gpgcheck: 'no'
    baseurl: https://4.chacra.ceph.com/r/ceph/main/cf17ed16c3964b635e9b6c22e607ea5672341c5c/centos/8/flavors/default/noarch
    file: ceph_shaman_build_noarch
    priority: '2'
    enabled: 1
  - name: ceph_custom_x86_64
    state: present
    description: Ceph custom repo x86_64
    gpgcheck: 'no'
    baseurl: https://4.chacra.ceph.com/r/ceph/main/cf17ed16c3964b635e9b6c22e607ea5672341c5c/centos/8/flavors/default/x86_64
    file: ceph_shaman_build_x86_64
    priority: '2'
    enabled: 1