ceph-ansible/roles/ceph-common
Leseb 629108fbfa Merge pull request #657 from ksingh7/fix_mon_containerized_deployment_with_kv
ceph-common: Newline separation in ceph.conf.j2
2016-03-29 00:56:36 +02:00
..
defaults ceph-common: Fix for issue no. 652 2016-03-26 19:47:40 +02:00
files rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
handlers ceph-mon/mds: fix fqdn 2016-03-03 21:23:14 +01:00
meta rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
plugins/actions rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
tasks ceph-common: use variable rgw_group_name instead of hard coded group 2016-03-28 18:59:09 +08:00
templates ceph-common: Newline separation for mon_containerized_deployment_with_kv variable in ceph.conf.j2 2016-03-29 01:34:08 +03:00
LICENSE rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
README.md rollback previous change for ceph-common change 2016-03-02 18:44:36 +01: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

Move the plugins/actions/config_template.py file to your top level playbook directory. Edit your ansible.cfg like so:

action_plugins = plugins/actions

Depending on how you are managing your playbook, the path might be different so edit the file accordingly if necessary.

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.