Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Benoît Knecht 9a286e273a ceph-rgw-loadbalancer: Fix rgw_ports fact
The `set_fact rgw_ports` task was failing due to a templating error, because
`hostvars[item].rgw_instances` is a list, but it was treated as if it was a
dictionary.

Another issue was the fact that the `unique` filter only applied to the list
being appended to `rgw_ports` instead of the entire list, which means it was
possible to have duplicate items.

Lastly, `rgw_ports` would have been a list of integers, but the `seport` module
expects a list of strings.

This commit fixes all of the issues above, allowing the `ceph-rgw-loadbalancer`
role to work on systems with SELinux enabled.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
(cherry picked from commit c078513475)
2021-04-15 13:21:07 +02:00
.github tests: pin ruamel.yaml version 2021-03-26 14:42:27 +01:00
contrib remove ceph restapi references 2019-06-20 15:15:10 -04:00
docs Docs: fix some typos 2021-03-12 09:36:11 +01:00
group_vars nfs: set idmap config for Ceph-NFS 2021-04-02 13:18:52 +02:00
infrastructure-playbooks switch-to-containers: only chown corresponding files 2021-04-15 05:24:44 +02:00
library library: drop ceph_facts 2021-03-26 00:07:43 +01:00
plugins ipaddrs_in_ranges: fix python indent 2019-10-28 15:54:31 +01:00
profiles Use ansible_facts 2021-03-26 00:16:58 +01:00
roles ceph-rgw-loadbalancer: Fix rgw_ports fact 2021-04-15 13:21:07 +02:00
tests Use ansible_facts 2021-03-26 00:16:58 +01:00
.gitignore remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
.mergify.yml mergify: add mergify configuration 2020-12-15 10:03:33 +01: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 Fixes for Makefile 2020-03-30 22:31:04 +02:00
README-MULTISITE.md docs: rgw multisite docs with new rgw_instances config 2021-03-26 07:43:02 +01:00
README.rst docs: update URLs to point to the RTD links 2020-09-25 10:47:38 -04:00
RELEASE-NOTE.md doc: update release note 2020-04-23 13:27:24 +02:00
Vagrantfile tests: revert vagrant_variable file name detection 2019-11-25 14:52:57 +01:00
ansible.cfg Disable facts by default in ansible.cfg 2021-03-26 00:16:58 +01:00
ceph-ansible.spec.in library: drop ceph_facts 2021-03-26 00:07:43 +01:00
dashboard.yml node-exporter: exclude client nodes 2020-09-14 16:13:25 -04:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh fix broken ceph-fetch-keys role 2020-12-15 17:30:42 +01: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 requirements.txt: Move the six dependency into the general requirements 2021-03-03 13:22:29 +01:00
rhcs_edits.txt defaults: update rhcs dashboard images versions 2021-02-18 18:22:28 +01:00
site-container.yml.sample Use ansible_facts 2021-03-26 00:16:58 +01:00
site-docker.yml.sample site: symlink site-docker to site-container 2018-11-27 16:47:40 +00:00
site.yml.sample main: followup on pr 6012 2020-11-12 15:34:12 -05:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox-docker2podman.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-external_clients.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-filestore_to_bluestore.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-podman.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-shrink_osd.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-update.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox.ini tests: increase nb of rerun in pytest 2021-03-12 17:52:00 +01: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: https://docs.ceph.com/projects/ceph-ansible/en/latest/

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