]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
cephadm-adopt: fix ssl condition in rgw placement task v6.0.28.17
authorTeoman ONAY <tonay@ibm.com>
Fri, 24 Jan 2025 12:56:41 +0000 (13:56 +0100)
committerTeoman ONAY <tonay@ibm.com>
Mon, 27 Jan 2025 14:10:55 +0000 (15:10 +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>
infrastructure-playbooks/cephadm-adopt.yml

index f75be479703f9e13388c0e7a738b838d39ba8b55..5bc977985d82fda98cfca9639dc478cab8a0053a 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: