mirror of https://github.com/ceph/ceph-ansible.git
19c3fdc53a
Prior to this change, each ceph cluster node would end up with several "qemu-client-$pid.log" files owned by root. The [client] section would capture *all* client activity (for example the "ceph health" command, etc), not just librbd-in-qemu. Restrict this section to libvirt clients only so that we don't generate these spurious log files for other Ceph client traffic. Signed-off-by: Ken Dreyer <kdreyer@redhat.com> |
||
---|---|---|
.. | ||
defaults | ||
files | ||
handlers | ||
meta | ||
plugins/actions | ||
tasks | ||
templates | ||
LICENSE | ||
README.md |
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_rh_storage
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.