ceph-ansible/roles/ceph-common
Andrew Schoen 49dba08c05 fixes monitor_address and monitor_interface features
Before this commit if you had set monitor_interface in your
inventory file for a specific host it would be ignored and the value
in group_vars/all would have been used.

Also, this enables support for monitor_address again as it had been
broken by previous changes to this template.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-02 15:27:12 -05:00
..
defaults Fix 'raw_journal_devices' to be initialized as a list in ceph-common defaults. Add empty 'devices' list there as well. Adjust 'devices' and 'raw_journal_devices' checks. 2016-11-01 10:07:03 +00:00
files remove references to Inktank Ceph Storage 2016-07-26 13:57:32 -06:00
handlers Added ceph_release generation and fixed missing whitespace in ceph_release checks 2016-09-09 18:16:41 -04:00
meta rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
plugins/actions common: refresh config template module 2016-07-26 10:44:12 +02:00
tasks Fix 'raw_journal_devices' to be initialized as a list in ceph-common defaults. Add empty 'devices' list there as well. Adjust 'devices' and 'raw_journal_devices' checks. 2016-11-01 10:07:03 +00:00
templates fixes monitor_address and monitor_interface features 2016-11-02 15:27:12 -05:00
LICENSE rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
README.md ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in README 2016-08-15 11:24:36 -04: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_rhcs
    • ceph_custom
  • 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.