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]>
  • Loading branch information
asm0deuz committed Jul 12, 2024
1 parent 4fa9057 commit 210be9b
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 @@ -942,10 +942,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 210be9b

Please sign in to comment.