ceph-ansible/infrastructure-playbooks
Kevin Jones 3a8de9cc36 Set proper ownership command performance improvement
By changing the set ownership command from using the file module in combination with a with_items loop to a raw chown command, we can achieve a 98% performance increase here.

On a ceph cluster with a significant amount of directories and files in /var/lib/ceph, the file module has to run checks on ownership of all those directories and files to determine whether a change is needed.

In this case, we just want to explicitly set the ownership of all these directories and files to the ceph_uid

Added context note to all set proper ownership tasks

Signed-off-by: Kevin Jones <kevinjones@redhat.com>
(cherry picked from commit 47bf47c9d8)
2019-08-22 12:59:58 +02:00
..
untested-by-ci ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
vars osd: remove variable osd_scenario 2019-04-12 00:45:21 +00:00
README.md rolling_update: fix wrong indent 2016-10-26 12:51:08 -05:00
add-mon.yml allow adding a monitor to a deployed cluster 2019-04-16 11:14:21 +02:00
add-osd.yml rename docker_exec_cmd variable 2019-05-17 16:05:58 +02:00
ansible.cfg Cleanup plugins directories and references 2018-03-14 11:15:39 +01:00
ceph-keys.yml rename docker_exec_cmd variable 2019-05-17 16:05:58 +02:00
dashboard.yml dashboard: run dashboard role on mgr/mon nodes 2019-08-08 13:47:09 +02:00
gather-ceph-logs.yml remove ceph restapi references 2019-06-20 15:15:10 -04:00
lv-create.yml improve coding style 2019-05-06 15:09:06 +00:00
lv-teardown.yml improve coding style 2019-05-06 15:09:06 +00:00
purge-cluster.yml Remove NBSP characters 2019-07-26 16:23:41 -04:00
purge-docker-cluster.yml purge: ensure no ceph kernel thread is present 2019-06-24 13:20:50 +02:00
purge-iscsi-gateways.yml igw: Support new ceph-iscsi package during purge 2019-07-04 00:04:04 +00:00
rgw-add-users-buckets.yml Example ceph_add_users_buckets playbook 2018-12-20 14:23:25 +01:00
rolling_update.yml upgrade: accept HEALTH_OK and HEALTH_WARN as valid state 2019-06-21 15:47:33 +00:00
shrink-mds.yml shrink-mds: refact post tasks 2019-07-09 12:07:47 +02:00
shrink-mgr.yml infra-playbooks: rewite a condition for better readability 2019-07-29 15:52:29 +02:00
shrink-mon.yml shrink-mon: refact 'verify the monitor is out of the cluster' task 2019-08-19 18:47:14 +00:00
shrink-osd.yml ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
shrink-rbdmirror.yml infra-playbooks: rewite a condition for better readability 2019-07-29 15:52:29 +02:00
shrink-rgw.yml add a playbook the remove rgw from a given node 2019-07-31 15:25:15 -04:00
storage-inventory.yml improve coding style 2019-05-06 15:09:06 +00:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml Set proper ownership command performance improvement 2019-08-22 12:59:58 +02:00
take-over-existing-cluster.yml remove ceph-agent role and references 2019-06-17 15:56:00 -04:00

README.md

Infrastructure playbooks

This directory contains a variety of playbooks that can be used independently of the Ceph roles we have. They aim to perform infrastructure related tasks that would help use managing a Ceph cluster or performing certain operational tasks.

To use them, you must move them to ceph-ansible's root directory, then run using ansible-playbook <playbook>.