]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
cephadm-adopt: fix ssl condition in rgw placement task stable-7.0
authorTeoman ONAY <tonay@ibm.com>
Fri, 24 Jan 2025 12:56:41 +0000 (13:56 +0100)
committerTeoman ONAY <tonay@ibm.com>
Tue, 18 Mar 2025 15:04:50 +0000 (16:04 +0100)
rgw daemons fail to start as they were looking for
ssl certificates while none were available.

Signed-off-by: Teoman ONAY <tonay@ibm.com>
(cherry picked from commit bf76bded4c3760a6610284cc477f642c8635f06d)

infrastructure-playbooks/cephadm-adopt.yml

index 5b48952961d0bc5c6f8fdee48fc16e23542c4a15..26371114afddc9f1ba8f264a456ed33f919e3c5e 100644 (file)
           {% endif %}
           spec:
             rgw_frontend_port: {{ radosgw_frontend_port }}
-          {% if radosgw_frontend_ssl_certificate is defined %}
+          {% if radosgw_frontend_ssl_certificate | length > 0 %}
             {{ "ssl: true" }}
           {% endif %}
           extra_container_args: