diff options
author | Yanis Guenane <yanis@guenane.org> | 2019-06-03 11:45:21 +0200 |
---|---|---|
committer | Yanis Guenane <yanis@guenane.org> | 2019-06-03 11:50:52 +0200 |
commit | 11630a8803999ac25760a764edf4f0615e5c9767 (patch) | |
tree | 02244016c3ac24d40bb47f4217e51da9713e11d8 /installer/roles/image_push | |
parent | Merge pull request #3981 from jakemcdermott/test-debug-helpers (diff) | |
download | awx-11630a8803999ac25760a764edf4f0615e5c9767.tar.xz awx-11630a8803999ac25760a764edf4f0615e5c9767.zip |
Installer: quote password where it applies
Prior to this change, password having shell interpretable character
would break the installer (e.g '&', '(', etc... )
This commits rely on the `quote` filter from ansible to ensure those
password are properly quoted where it applies
Fixes: https://github.com/ansible/awx/issues/3943
Signed-off-by: Yanis Guenane <yguenane@redhat.com>
Diffstat (limited to 'installer/roles/image_push')
-rw-r--r-- | installer/roles/image_push/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/roles/image_push/tasks/main.yml b/installer/roles/image_push/tasks/main.yml index 24530b0ed8..1d75e4d29d 100644 --- a/installer/roles/image_push/tasks/main.yml +++ b/installer/roles/image_push/tasks/main.yml @@ -3,7 +3,7 @@ docker_login: registry: "{{ docker_registry }}" username: "{{ docker_registry_username }}" - password: "{{ docker_registry_password }}" + password: "{{ docker_registry_password | quote }}" reauthorize: yes when: docker_registry is defined and docker_registry_password is defined delegate_to: localhost |