]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
cephadm-adopt: fix ssl condition in rgw placement task
authorTeoman ONAY <tonay@ibm.com>
Fri, 24 Jan 2025 12:56:41 +0000 (13:56 +0100)
committerTeoman ONAY <tonay@ibm.com>
Fri, 31 Jan 2025 07:53:27 +0000 (08:53 +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 9a52f31dc264be3cb8f1615d66d164e4fefede44..e542dcdd7ce84eb7535986ea96f0b602cb8014c1 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: