diff --git a/inventory/group_vars/all/ceph.yml b/inventory/group_vars/all/ceph.yml index 0ce8a71331..a089e52cc1 100644 --- a/inventory/group_vars/all/ceph.yml +++ b/inventory/group_vars/all/ceph.yml @@ -19,7 +19,7 @@ ceph_client_package_state: "{{ package_state }}" mon_group_name: ceph-mon mgr_group_name: "{{ mon_group_name }}" osd_group_name: ceph-osd -ceph_origin: repository +ceph_origin: "{{ (ansible_pkg_mgr == 'zypper') | ternary('distro', 'repository') }}" ceph_repository: community # The _stable_release var is used by both the OSA ceph_client role and the # ceph-ansible roles. It is defaulted in ceph_client but set here to keep the