]> 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:35 +0000 (14:57 -0400)
commit5fc3af5f4dff52981838ffef9677d2301621c98f
tree5370c8b660405e2e9e2017e4543b0756c1ab4b1f
parent43698330089d2fe42e9c41a0c382b5d8870763f6
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