From 9412c44906a75ae250069cf2017134d1cda8478c 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 (cherry picked from commit 6dcfdf17d43635fcd0dc658c199702945a1228dd) --- 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 c65dcf90b..4fa2715b1 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: