Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Dimitri Savineau 3313bc5c1f ceph-handler: group listen topics and condition
We are using multiple listen topics with the handlers. That means that
we are notifying 4 tasks for each handler.
Instead we can group the listen on an include_tasks and based on the
group condition.

Before:

NOTIFIED HANDLER ceph-handler : set _mon_handler_called before restart for mon0
NOTIFIED HANDLER ceph-handler : copy mon restart script for mon0
NOTIFIED HANDLER ceph-handler : restart ceph mon daemon(s) for mon0
NOTIFIED HANDLER ceph-handler : set _mon_handler_called after restart for mon0
NOTIFIED HANDLER ceph-handler : set _osd_handler_called before restart for mon0
NOTIFIED HANDLER ceph-handler : copy osd restart script for mon0
NOTIFIED HANDLER ceph-handler : restart ceph osds daemon(s) for mon0
NOTIFIED HANDLER ceph-handler : set _osd_handler_called after restart for mon0
NOTIFIED HANDLER ceph-handler : set _mds_handler_called before restart for mon0
NOTIFIED HANDLER ceph-handler : copy mds restart script for mon0
NOTIFIED HANDLER ceph-handler : restart ceph mds daemon(s) for mon0
NOTIFIED HANDLER ceph-handler : set _mds_handler_called after restart for mon0
NOTIFIED HANDLER ceph-handler : set _rgw_handler_called before restart for mon0
NOTIFIED HANDLER ceph-handler : copy rgw restart script for mon0
NOTIFIED HANDLER ceph-handler : restart ceph rgw daemon(s) for mon0
NOTIFIED HANDLER ceph-handler : set _rgw_handler_called after restart for mon0
NOTIFIED HANDLER ceph-handler : set _mgr_handler_called before restart for mon0
NOTIFIED HANDLER ceph-handler : copy mgr restart script for mon0
NOTIFIED HANDLER ceph-handler : restart ceph mgr daemon(s) for mon0
NOTIFIED HANDLER ceph-handler : set _mgr_handler_called after restart for mon0
NOTIFIED HANDLER ceph-handler : set _rbdmirror_handler_called before restart for mon0
NOTIFIED HANDLER ceph-handler : copy rbd mirror restart script for mon0
NOTIFIED HANDLER ceph-handler : restart ceph rbd mirror daemon(s) for mon0
NOTIFIED HANDLER ceph-handler : set _rbdmirror_handler_called after restart for mon0

After:

NOTIFIED HANDLER ceph-handler : mons handler for mon0
NOTIFIED HANDLER ceph-handler : osds handler for mon0
NOTIFIED HANDLER ceph-handler : mdss handler for mon0
NOTIFIED HANDLER ceph-handler : rgws handler for mon0
NOTIFIED HANDLER ceph-handler : mgrs handler for mon0
NOTIFIED HANDLER ceph-handler : rbdmirrors handler for mon0

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit fe9c5b8c68)
2019-10-15 13:29:06 -04:00
.github/ISSUE_TEMPLATE Update issue templates 2018-07-12 14:10:15 +02:00
contrib remove ceph restapi references 2019-06-20 15:15:10 -04:00
docs switch to ansible 2.8 2019-05-21 09:17:46 +02:00
group_vars ceph-dashboard: remove rgw api host,port,scheme 2019-10-07 10:25:29 -04:00
infrastructure-playbooks dashboard: disable facts gathering 2019-10-14 09:45:11 +02:00
library osd: add wal_devices option support to ceph_volume module 2019-09-26 16:21:54 +02:00
plugins Remove validate action and notario dependency 2019-10-15 10:21:54 -04:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles ceph-handler: group listen topics and condition 2019-10-15 13:29:06 -04:00
tests Remove validate action and notario dependency 2019-10-15 10:21:54 -04:00
.gitignore remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
.mergify.yml mergify: need 2 approvals to merge a 'skip ci' PR 2019-02-28 13:07:51 +01:00
.travis.yml Replace ipaddr() with ips_in_ranges() 2019-09-27 17:49:46 +02:00
CONTRIBUTING.md remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile makefile: change distro to el8 2019-02-20 08:10:30 +00:00
README-MULTISITE.md rgw multisite: add more than 1 rgw to the master or secondary zone 2019-04-07 10:00:18 +00:00
README.rst Update Documentation example link to 3.0 2018-02-07 16:34:45 +01:00
Vagrantfile Vagrantfile: support more than 9 nodes per daemon type 2019-10-04 09:31:46 +02:00
ansible.cfg Replace ipaddr() with ips_in_ranges() 2019-09-27 17:49:46 +02:00
ceph-ansible.spec.in Remove validate action and notario dependency 2019-10-15 10:21:54 -04:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
raw_install_python.yml install python-xml on SUSE/openSUSE only if python2 is installed 2019-09-27 17:50:10 +02:00
requirements.txt Remove validate action and notario dependency 2019-10-15 10:21:54 -04:00
rhcs_edits.txt rhcs_edits: Fix ose container versions 2019-09-30 14:24:50 +02:00
site-container.yml.sample main: exclude client nodes from facts gathering when delegate_facts_host 2019-10-07 11:21:23 +02:00
site-docker.yml.sample site: symlink site-docker to site-container 2018-11-27 16:47:40 +00:00
site.yml.sample site.yml: remove raw installation of python2-dnf 2019-10-07 11:21:23 +02:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox-dashboard.ini tests: remove useless setting 2019-07-17 09:04:20 +00:00
tox-podman.ini tests: update tox due to pipeline removal 2019-10-08 14:03:14 -04:00
tox-update.ini tests: update tox due to pipeline removal 2019-10-08 14:03:14 -04:00
tox.ini tests: update tox due to pipeline removal 2019-10-08 14:03:14 -04:00
vagrant_variables.yml.sample Fix units and add ability to have a dedicated instance 2019-06-12 11:48:12 +02:00

README.rst

ceph-ansible
============
Ansible playbooks for Ceph, the distributed filesystem.

Please refer to our hosted documentation here: http://docs.ceph.com/ceph-ansible/master/

You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link
above for the name of the branch. For example: http://docs.ceph.com/ceph-ansible/stable-3.0/