mirror of https://github.com/ceph/ceph-ansible.git
commit
ff671629ee
|
@ -14,7 +14,7 @@
|
||||||
fail: msg="Distribution not supported {{ ansible_os_family }}"
|
fail: msg="Distribution not supported {{ ansible_os_family }}"
|
||||||
when: ansible_os_family not in ['Debian', 'RedHat']
|
when: ansible_os_family not in ['Debian', 'RedHat']
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=3600 # we update the cache just in case...
|
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=3600 # we update the cache just in case...
|
||||||
with_items:
|
with_items:
|
||||||
- python-pycurl
|
- python-pycurl
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- ceph
|
- ceph
|
||||||
- ceph-common #|
|
- ceph-common #|
|
||||||
- ceph-fs-common #|--> yes, they are already all dependancies from 'ceph'
|
- ceph-fs-common #|--> yes, they are already all dependencies from 'ceph'
|
||||||
- ceph-fuse #|--> however while proceding to rolling upgrades and the 'ceph' package upgrade
|
- ceph-fuse #|--> however while proceding to rolling upgrades and the 'ceph' package upgrade
|
||||||
- ceph-mds #|--> they don't get update so we need to force them
|
- ceph-mds #|--> they don't get update so we need to force them
|
||||||
- libcephfs1 #|
|
- libcephfs1 #|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
fail: msg="Distribution not supported {{ ansible_os_family }}"
|
fail: msg="Distribution not supported {{ ansible_os_family }}"
|
||||||
when: ansible_os_family not in ['Debian', 'RedHat']
|
when: ansible_os_family not in ['Debian', 'RedHat']
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
yum: name={{ item }} state=present
|
yum: name={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- python-pycurl
|
- python-pycurl
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
## SCENARIO 1: JOURNAL AND OSD_DATA ON THE SAME DEVICE
|
## SCENARIO 1: JOURNAL AND OSD_DATA ON THE SAME DEVICE
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
apt: pkg=parted state=present
|
apt: pkg=parted state=present
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
yum: name=parted state=present
|
yum: name=parted state=present
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
## SCENARIO 4: USE A DIRECTORY INSTEAD OF A DISK FOR OSD
|
## SCENARIO 4: USE A DIRECTORY INSTEAD OF A DISK FOR OSD
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
apt: pkg=parted state=present
|
apt: pkg=parted state=present
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
yum: name=parted state=present
|
yum: name=parted state=present
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
## SCENARIO 2: SINGLE JOURNAL DEVICE FOR N OSDS
|
## SCENARIO 2: SINGLE JOURNAL DEVICE FOR N OSDS
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
apt: pkg=parted state=present
|
apt: pkg=parted state=present
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
yum: name=parted state=present
|
yum: name=parted state=present
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
## SCENARIO 3: N JOURNAL DEVICES FOR N OSDS
|
## SCENARIO 3: N JOURNAL DEVICES FOR N OSDS
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
apt: pkg=parted state=present
|
apt: pkg=parted state=present
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Install dependancies
|
- name: Install dependencies
|
||||||
yum: name=parted state=present
|
yum: name=parted state=present
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue