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

30 lines
780 B
YAML
Raw Normal View History

2014-09-05 03:14:11 +08:00
---
- name: include configure_debian_repository_installation.yml
include: configure_debian_repository_installation.yml
when:
- ceph_origin == 'repository'
- name: install dependencies
2015-09-04 00:18:53 +08:00
apt:
name: "{{ item }}"
2015-09-04 00:18:53 +08:00
state: present
update_cache: yes
cache_valid_time: 3600
with_items: "{{ debian_package_dependencies }}"
2014-09-05 03:14:11 +08:00
- name: update apt cache
apt:
update_cache: yes
- name: include install_debian_packages.yml
include: install_debian_packages.yml
when:
- (ceph_origin == 'repository' or ceph_origin == 'distro')
- ceph_repository != 'rhcs'
- name: include install_debian_rhcs_packages.yml
include: install_debian_rhcs_packages.yml
when:
- (ceph_origin == 'repository' or ceph_origin == 'distro')
- ceph_repository == 'rhcs'