From 01d9d3c04bf916fca3feb2a4a189232e5004b5ef Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sun, 13 Nov 2022 22:39:14 +0100 Subject: [PATCH] Don't use local config for Docker registry login It doesn't work when deploying in Vagrant :( --- roles/docker/tasks/services/docker_registry.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/docker/tasks/services/docker_registry.yml b/roles/docker/tasks/services/docker_registry.yml index 975db50..a88a707 100644 --- a/roles/docker/tasks/services/docker_registry.yml +++ b/roles/docker/tasks/services/docker_registry.yml @@ -28,9 +28,8 @@ args: creates: "{{ docker_registry.volume_folder }}/auth/htpasswd" -- name: log in to local registry +- name: log in to registry docker_login: registry: "{{ docker_registry.domain }}" username: "docker" password: "{{ docker_password }}" - config_path: "{{ docker_registry.volume_folder }}/auth/config.json"