mirror of https://github.com/ceph/ceph-ansible.git
25 lines
777 B
YAML
25 lines
777 B
YAML
|
---
|
||
|
# 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
|