mirror of https://github.com/ceph/ceph-ansible.git
Fix some variables
Couple of fixes Signed-off-by: Sébastien Han <sebastien.han@enovance.com>pull/102/head
parent
0e54d0f7f1
commit
bdb27a16a8
|
@ -6,6 +6,10 @@
|
|||
- mons
|
||||
- osds
|
||||
|
||||
vars:
|
||||
devices: [ '/dev/sdb', '/dev/sdc', '/dev/sdd', '/dev/sde', '/dev/sdf' ]
|
||||
partitions: [ '1', '2', '3' ]
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Purge Ceph
|
||||
|
@ -24,5 +28,5 @@
|
|||
shell: parted -s {{ item[0] }} rm {{ item[1] }}
|
||||
with_nested:
|
||||
- devices
|
||||
- ['1', '2']
|
||||
- partitions
|
||||
ignore_errors: true
|
||||
|
|
|
@ -3,9 +3,12 @@
|
|||
|
||||
## Setup options
|
||||
#
|
||||
|
||||
# ACTIVATE THE FSID VARIABLE FOR NON-VAGRANT DEPLOYMENT
|
||||
#fsid:
|
||||
distro_release: "{{ facter_lsbdistcodename }}" # Seems to be not used.
|
||||
apt_key: http://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
|
||||
ceph_release: emperor
|
||||
ceph_release: firefly
|
||||
redhat_distro: el6 # supported distros are el6, rhel6, f18, f19, opensuse12.2, sles11
|
||||
|
||||
## Ceph options
|
||||
|
@ -47,4 +50,5 @@ osd_recovery_op_priority: 2
|
|||
|
||||
## Testing mode
|
||||
# enable this mode _only_ when you have a single node
|
||||
common_single_host_mode: true
|
||||
# if you don't want it keep the option commented
|
||||
#common_single_host_mode: true
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
with_items:
|
||||
- python-pycurl
|
||||
- ntp
|
||||
- hdparm
|
||||
|
||||
- name: Install the Ceph key
|
||||
apt_key: data="{{ lookup('file', 'cephrelease.asc') }}" state=present
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
with_items:
|
||||
- python-pycurl
|
||||
- ntp
|
||||
- hdparm
|
||||
|
||||
- name: Install the Ceph key
|
||||
rpm_key: key=cephrelease.asc state=present
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
|
||||
## Ceph options
|
||||
#
|
||||
|
||||
# ACTIVATE BOTH FSID AND MONITOR_SECRET VARIABLES FOR NON-VAGRANT DEPLOYMENT
|
||||
# fsid:
|
||||
# monitor_secret:
|
||||
cephx: true
|
||||
|
||||
# Rados Gateway options
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
## Ceph options
|
||||
#
|
||||
|
||||
# ACTIVATE THE FSID VARIABLE FOR NON-VAGRANT DEPLOYMENT
|
||||
# fsid:
|
||||
cephx: true
|
||||
|
||||
# Devices to be used as OSDs
|
||||
|
|
Loading…
Reference in New Issue