2014-03-06 20:54:37 +08:00
|
|
|
---
|
2014-09-05 03:14:11 +08:00
|
|
|
|
2015-01-21 01:43:47 +08:00
|
|
|
- include: pre_requisite.yml
|
|
|
|
when: not ceph_containerized_deployment
|
2014-03-06 20:54:37 +08:00
|
|
|
|
2014-11-06 00:57:28 +08:00
|
|
|
- include: install_redhat.yml
|
2015-03-30 16:59:08 +08:00
|
|
|
when: ansible_os_family == 'RedHat' and radosgw_frontend == 'apache' and not ceph_containerized_deployment
|
2014-03-06 20:54:37 +08:00
|
|
|
|
2014-11-06 00:57:28 +08:00
|
|
|
- include: install_debian.yml
|
2015-03-30 16:59:08 +08:00
|
|
|
when: ansible_os_family == 'Debian' and radosgw_frontend == 'apache' and not ceph_containerized_deployment
|
2015-03-02 17:22:52 +08:00
|
|
|
|
|
|
|
- name: "Install Rados Gateway"
|
|
|
|
apt: >
|
|
|
|
pkg=radosgw
|
|
|
|
state=present
|
|
|
|
update_cache=yes
|
2015-01-21 01:43:47 +08:00
|
|
|
when: ansible_os_family == 'Debian' and not ceph_containerized_deployment
|
2015-03-02 17:22:52 +08:00
|
|
|
|
|
|
|
- name: "Install Rados Gateway"
|
|
|
|
yum: >
|
|
|
|
name=ceph-radosgw
|
|
|
|
state=present
|
2015-01-21 01:43:47 +08:00
|
|
|
when: ansible_os_family == 'RedHat' and not ceph_containerized_deployment
|
2015-03-02 17:22:52 +08:00
|
|
|
|
2015-01-21 01:43:47 +08:00
|
|
|
- include: start_radosgw.yml
|
2015-03-30 16:59:08 +08:00
|
|
|
when: not ceph_containerized_deployment
|
2015-03-02 17:22:52 +08:00
|
|
|
|
2015-01-21 01:43:47 +08:00
|
|
|
- include: docker.yml
|
|
|
|
when: ceph_containerized_deployment
|