Skip to content

Commit d419443

Browse files
committed
Fix bootstrap failure with some registry passwords
This is necessary to avoid a failure if the password contains whitespace characters. If the password was set to "foo bar baz", the role would fail with: cephadm: error: unrecognized arguments: bar baz Quotes are applied to the other registry arguments for consistency.
1 parent f750c9d commit d419443

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roles/cephadm/tasks/bootstrap.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
--ssh-user "{{ cephadm_ssh_user }}"
2222
{% endif %}
2323
{% if cephadm_registry_url | length > 0 %}
24-
--registry-url={{ cephadm_registry_url }}
25-
--registry-username={{ cephadm_registry_username }}
26-
--registry-password={{ cephadm_registry_password }}
24+
--registry-url "{{ cephadm_registry_url }}"
25+
--registry-username "{{ cephadm_registry_username }}"
26+
--registry-password "{{ cephadm_registry_password }}"
2727
{% endif %}
2828
--skip-pull
2929
{% if cephadm_fsid | length > 0 %}

0 commit comments

Comments
 (0)