mirror of https://github.com/ceph/ceph-ansible.git
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 <dsavinea@redhat.com>pull/5810/head
parent
ff19c1d851
commit
6dcfdf17d4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue