From 8eb2c46e9bbf7aea4959e51594ea6dce9d7dc032 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Tue, 14 Sep 2021 20:02:49 +0000 Subject: [PATCH] Add secret and htpasswd to docker registry servers --- playbooks/registry.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/registry.yml b/playbooks/registry.yml index de31a53..90f9f2b 100644 --- a/playbooks/registry.yml +++ b/playbooks/registry.yml @@ -36,3 +36,6 @@ - import_role: name: docker-distribution + vars: + htpasswd: "{{ ansible_private }}/files/docker-distribution/htpasswd" + secret: "{{ docker_distribution_secret }}"