Skip to content

Commit

Permalink
cephadm-adopt: fix "Update the placement of radosgw hosts" task
Browse files Browse the repository at this point in the history
spec file template conditions were incorrect

Signed-off-by: Teoman ONAY <[email protected]>
(cherry picked from commit e85060c)
  • Loading branch information
asm0deuz committed Jul 16, 2024
1 parent 69a9903 commit 5185287
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions infrastructure-playbooks/cephadm-adopt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1024,10 +1024,14 @@
count_per_host: {{ radosgw_num_instances }}
hosts:
- {{ ansible_facts['nodename'] }}
{{ "networks: rgw_subnet" if rgw_subnet is defined }}
{% if rgw_subnet is defined %}
networks: "{{ rgw_subnet }}"
{% endif %}
spec:
rgw_frontend_port: {{ radosgw_frontend_port }}
{{ "ssl: true" if radosgw_frontend_ssl_certificate }}
{% if radosgw_frontend_ssl_certificate is defined %}
{{ "ssl: true" }}
{% endif %}
extra_container_args:
- -v
- /etc/pki/ca-trust:/etc/pki/ca-trust:ro
Expand Down

0 comments on commit 5185287

Please sign in to comment.