From: Teoman ONAY Date: Fri, 24 Jan 2025 12:56:41 +0000 (+0100) Subject: cephadm-adopt: fix ssl condition in rgw placement task X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fmergify%2Fbp%2Fstable-7.0%2Fpr-7637;p=ceph-ansible.git cephadm-adopt: fix ssl condition in rgw placement task rgw daemons fail to start as they were looking for ssl certificates while none were available. Signed-off-by: Teoman ONAY (cherry picked from commit bf76bded4c3760a6610284cc477f642c8635f06d) --- diff --git a/infrastructure-playbooks/cephadm-adopt.yml b/infrastructure-playbooks/cephadm-adopt.yml index 5b4895296..26371114a 100644 --- a/infrastructure-playbooks/cephadm-adopt.yml +++ b/infrastructure-playbooks/cephadm-adopt.yml @@ -1029,7 +1029,7 @@ {% 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: