mirror of https://github.com/ceph/ceph-ansible.git
25 lines
727 B
YAML
25 lines
727 B
YAML
---
|
|
- name: include configure_debian_repository_installation.yml
|
|
include_tasks: configure_debian_repository_installation.yml
|
|
when:
|
|
- ceph_origin == 'repository'
|
|
|
|
- name: update apt cache if cache_valid_time has expired
|
|
apt:
|
|
update_cache: yes
|
|
cache_valid_time: 3600
|
|
register: result
|
|
until: result is succeeded
|
|
|
|
- name: include install_debian_packages.yml
|
|
include_tasks: install_debian_packages.yml
|
|
when:
|
|
- (ceph_origin == 'repository' or ceph_origin == 'distro')
|
|
- ceph_repository != 'rhcs'
|
|
|
|
- name: include install_debian_rhcs_packages.yml
|
|
include_tasks: install_debian_rhcs_packages.yml
|
|
when:
|
|
- (ceph_origin == 'repository' or ceph_origin == 'distro')
|
|
- ceph_repository == 'rhcs'
|