From 6dcfdf17d43635fcd0dc658c199702945a1228dd Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Fri, 18 Sep 2020 10:03:13 -0400 Subject: [PATCH] container: quote registry password When using a quote in the registry password then we have the following error: The error was: ValueError: No closing quotation To fix this we need to use the quote filter. Close: https://bugzilla.redhat.com/show_bug.cgi?id=1880252 Signed-off-by: Dimitri Savineau --- roles/ceph-container-common/tasks/registry.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-container-common/tasks/registry.yml b/roles/ceph-container-common/tasks/registry.yml index 4479c5291..a9abb3b98 100644 --- a/roles/ceph-container-common/tasks/registry.yml +++ b/roles/ceph-container-common/tasks/registry.yml @@ -1,6 +1,6 @@ --- - name: container registry authentication - command: '{{ container_binary }} login -u {{ ceph_docker_registry_username }} -p {{ ceph_docker_registry_password }} {{ ceph_docker_registry }}' + command: '{{ container_binary }} login -u {{ ceph_docker_registry_username }} -p {{ ceph_docker_registry_password | quote }} {{ ceph_docker_registry }}' changed_when: false no_log: true environment: