]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rgw: support 1+ rgw instance in `radosgw_frontend_port`
authorraul <rmahique@redhat.com>
Mon, 3 Aug 2020 10:58:50 +0000 (12:58 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 12 Aug 2020 18:57:44 +0000 (14:57 -0400)
commit3c1e81ce4867dd81d271b539c6ed93a296df7b8b
treed3d0db776b85b04ed57e47f97bf2cc889db6e557
parent8e5d1159e0a5f36f6758b5b09cc3ee0deaeff6a4
rgw: support 1+ rgw instance in `radosgw_frontend_port`

Change the radosgw_frontend_port to take in account more than 1 RGW instance,
in it's original form `radosgw_frontend_port: radosgw_frontend_port | int`,
it configured the 8080 port to all instances, with the following modification
`radosgw_frontend_port: radosgw_frontend_port | int + item|int` we increase in
1 the port count.

Co-authored-by: Daniel Parkes <dparkes@redhat.com>
Signed-off-by: raul <rmahique@redhat.com>
(cherry picked from commit 110eaf5f9f8a2fe26993e2e663849a74531da9d2)
roles/ceph-facts/tasks/set_radosgw_address.yml