ceph-ansible/roles/ceph-common/tasks/installs/install_on_suse.yml

16 lines
625 B
YAML
Raw Normal View History

---
# SUSE only supports the following:
# - ceph_origin == 'distro'
# - ceph_origin == 'repository' and ceph_repository == 'obs'
- name: Check for supported installation method on suse
fail:
msg: "Unsupported installation method origin:{{ ceph_origin }} repo:{{ ceph_repository }}'"
when: ceph_origin != 'distro' or (ceph_origin == 'repository' and ceph_repository != 'obs')
- name: include configure_suse_repository_installation.yml
include_tasks: configure_suse_repository_installation.yml
when: ceph_origin == 'repository'
- name: include install_suse_packages.yml
include_tasks: install_suse_packages.yml