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

25 lines
777 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: configure_suse_repository_installation.yml
when:
- ceph_origin == 'repository'
- name: install dependencies
zypper:
name: "{{ item }}"
state: present
update_cache: yes
with_items: "{{ suse_package_dependencies }}"
- name: include install_suse_packages.yml
include: install_suse_packages.yml