ceph-ansible/infrastructure-playbooks
Harald Jensås e695efcaf7 Replace ipaddr() with ips_in_ranges()
This change implements a filter_plugin that is used in the
ceph-facts, ceph-validate roles and infrastucture-playbooks.
The new filter plugin will return a list of all IP address
that reside in any one of the given IP ranges. The new filter
replaces the use of the ipaddr filter.

ceph.conf already support a comma separated list of CIDRs
for the public_network and cluster_network options.

Changes: [1] and [2] introduced a regression in ceph-ansible
where public_network can no longer be a comma separated list
of cidrs.

With this change a comma separated list of subnet CIDRs can
also be used for monitor_address_block and radosgw_address_block.

[1] commit: d67230b2a2
[2] commit: 20e4852888

Related-To: https://bugs.launchpad.net/tripleo/+bug/1840030
Related-To: https://bugzilla.redhat.com/show_bug.cgi?id=1740283

Closes: #4333
Please backport to stable-4.0

Signed-off-by: Harald Jensås <hjensas@redhat.com>
2019-09-27 10:11:53 +02:00
..
untested-by-ci ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
vars osd: remove variable osd_scenario 2019-04-11 11:57:02 -04: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-15 10:00:50 +02:00
add-osd.yml rename docker_exec_cmd variable 2019-05-16 16:39:13 +02:00
ansible.cfg Cleanup plugins directories and references 2018-03-14 11:15:39 +01:00
ceph-keys.yml global: add newline at end of file 2019-08-23 15:56:47 +02:00
dashboard.yml dashboard: run dashboard role on mgr/mon nodes 2019-08-06 09:34:20 +02:00
filestore-to-bluestore.yml infrastructure-playbooks: add filestore-to-bluestore.yml 2019-09-26 11:35:24 +02:00
gather-ceph-logs.yml global: add newline at end of file 2019-08-23 15:56:47 +02:00
lv-create.yml lv-create: fix a typo 2019-09-26 11:35:24 +02:00
lv-teardown.yml improve coding style 2019-04-23 15:37:07 +02:00
purge-cluster.yml Replace ipaddr() with ips_in_ranges() 2019-09-27 10:11:53 +02:00
purge-docker-cluster.yml Replace ipaddr() with ips_in_ranges() 2019-09-27 10:11:53 +02:00
purge-iscsi-gateways.yml igw: Support new ceph-iscsi package during purge 2019-07-03 22:13:19 +02:00
rgw-add-users-buckets.yml Example ceph_add_users_buckets playbook 2018-12-20 14:23:25 +01:00
rolling_update.yml rolling_update.yml: force ceph-volume scan on osds 2019-09-26 16:53:25 +02:00
shrink-mds.yml shrink-mds: refact post tasks 2019-07-08 11:05:28 +02:00
shrink-mgr.yml infra-playbooks: rewite a condition for better readability 2019-07-25 16:21:34 +02:00
shrink-mon.yml shrink-mon: search mon in the quorum_names list 2019-09-18 14:35:02 +02:00
shrink-osd.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
shrink-rbdmirror.yml infra-playbooks: rewite a condition for better readability 2019-07-25 16:21:34 +02:00
shrink-rgw.yml shrink-rgw.yml: fix confirmation play's name 2019-09-24 07:47:56 +02:00
storage-inventory.yml improve coding style 2019-04-23 15:37:07 +02:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml Set proper ownership command performance improvement 2019-08-22 10:26:47 +02:00
take-over-existing-cluster.yml remove ceph-agent role and references 2019-06-03 13:35:50 +02: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>.