ceph-ansible/roles/ceph-common
Leseb 0410f6a258 Merge pull request #389 from AcalephStorage/fix-for-different-monitor-interfaces
Fix for error when the nodes don't have the same interface name.
2015-08-31 14:27:17 +02:00
..
defaults Merge pull request #392 from HanXHX/apt-origin 2015-08-31 14:24:12 +02:00
files Add multi-OS support for ICE 2014-12-18 11:10:14 +01:00
handlers Revert "Use stat module instead of shell" 2015-08-07 00:07:51 -05:00
meta Define dependencies in ceph-common's meta/main.yml 2015-07-28 10:48:07 +01:00
tasks Merge pull request #392 from HanXHX/apt-origin 2015-08-31 14:24:12 +02:00
templates use hostvars for monitor interface in ceph.conf if available, else, fallback to just the plain monitor_interface var 2015-08-28 00:41:15 +08:00
LICENSE Add READMEs for each roles 2015-07-25 10:51:53 +02:00
README.md Update ceph-common README 2015-08-06 09:29:30 -05:00

README.md

Ansible role: Ceph Common

This role does several things prior to bootstrapping your Ceph cluster:

  • Checks the system and validates that Ceph can be installed
  • Tunes the operating system if the node is an OSD server
  • Installs Ceph
  • Generates ceph.conf

Requirements

Nothing, it runs out of the box.

Role variables

Have a look at defaults/main.yml.

Mandatory variables

  • Install source, choose one of these:
    • ceph_stable
    • ceph_dev
    • ceph_stable_ice
    • ceph_stable_rh_storage
  • journal_size
  • monitor_interface
  • public_network
  • cluster_network

Handlers

  • update apt cache
  • restart ceph-mon
  • restart ceph-osd
  • restart ceph-mds
  • restart ceph-rgw
  • restart ceph-restapi
  • restart apache2

Dependencies

None

Example Playbook

- hosts: servers
  remote_user: ubuntu
  roles:
     - { role: leseb.ceph-common }

Misc

This role is a mandatory dependency for the following roles:

  • ceph-mon
  • ceph-osd
  • ceph-mds
  • ceph-rgw
  • ceph-restapi

Contribution

THIS REPOSITORY DOES NOT ACCEPT PULL REQUESTS. PULL REQUESTS MUST GO THROUGH CEPH-ANSIBLE.

License

Apache

Author Information

This role was created by Sébastien Han.