ceph-ansible/roles
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
..
ceph-client Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-common common: selinux tasks related refactor 2021-04-06 15:09:00 +02:00
ceph-config Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-container-common containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-container-engine Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-crash Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-dashboard dashboard: support igw nodes with dedicated subnet 2021-03-26 21:26:14 +01:00
ceph-defaults dashboard: support prometheus storage.tsdb.retention.time parameter 2021-04-02 13:17:59 +02:00
ceph-facts docker2podman: skip some role imports from handler 2021-04-12 13:30:31 +02:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-15 17:30:42 +01:00
ceph-grafana Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-handler docker2podman: skip some role imports from handler 2021-04-12 13:30:31 +02:00
ceph-infra Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-iscsi-gw container/systemd: ensure /var/log/ceph exists 2021-04-14 20:46:09 +02:00
ceph-mds container/systemd: ensure /var/log/ceph exists 2021-04-14 20:46:09 +02:00
ceph-mgr container/systemd: ensure /var/log/ceph exists 2021-04-14 20:46:09 +02:00
ceph-mon container/systemd: ensure /var/log/ceph exists 2021-04-14 20:46:09 +02:00
ceph-nfs container/systemd: ensure /var/log/ceph exists 2021-04-14 20:46:09 +02:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-osd container/systemd: ensure /var/log/ceph exists 2021-04-14 20:46:09 +02:00
ceph-prometheus dashboard: support prometheus storage.tsdb.retention.time parameter 2021-04-02 13:17:59 +02:00
ceph-rbd-mirror container/systemd: ensure /var/log/ceph exists 2021-04-14 20:46:09 +02:00
ceph-rgw container/systemd: ensure /var/log/ceph exists 2021-04-14 20:46:09 +02:00
ceph-rgw-loadbalancer ceph-rgw-loadbalancer: Fix rgw_ports fact 2021-04-15 13:21:07 +02:00
ceph-validate Use ansible_facts 2021-03-26 00:16:58 +01:00