From a392d817352de0ea6c84ca0c2023ad1506830486 Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Tue, 16 Jan 2018 11:57:33 -0700 Subject: Openbook CI: make new self-signed cert for CI/CD stack Issue: IS-56 --- salt/openbook/ansible/files/docker_registry.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'salt/openbook/ansible/files/docker_registry.yaml') diff --git a/salt/openbook/ansible/files/docker_registry.yaml b/salt/openbook/ansible/files/docker_registry.yaml index 20dfb73..3666deb 100644 --- a/salt/openbook/ansible/files/docker_registry.yaml +++ b/salt/openbook/ansible/files/docker_registry.yaml @@ -33,9 +33,9 @@ - name: "Copy SSL certs into nginx directory" shell: | - cp "/etc/ssl/certs/{{ cn }}.crt" /root/docker-registry/nginx/ - cp "/etc/ssl/certs/{{ cn }}.ca" /root/docker-registry/nginx/ - cp "/etc/ssl/private/{{ cn }}.key" /root/docker-registry/nginx/ + cp "/etc/ssl/certs/{{ inventory_hostname }}.crt" /root/docker-registry/nginx/ + cp "/etc/ssl/certs/{{ inventory_hostname }}.ca" /root/docker-registry/nginx/ + cp "/etc/ssl/private/{{ inventory_hostname }}.key" /root/docker-registry/nginx/ when: ansible_distribution == "Ubuntu" or ansible_distribution == "Gentoo" - name: "Create password file" -- cgit v1.3