Fix htpasswd creation for registry

We were using the wrong filename and encryption type.

Change-Id: I48d2a7288e5cd52e57f5632fee17f677429a1a9c
This commit is contained in:
James E. Blair 2019-02-16 09:01:17 -08:00
parent a65bbf7b16
commit eeb69e7ba2

View File

@ -14,11 +14,13 @@
package:
name:
- python3-passlib
- python3-bcrypt
state: present
- name: Write htpassword file
htpasswd:
create: true
path: /var/registry/auth/htpassword
crypt_scheme: bcrypt
path: /var/registry/auth/htpasswd
name: "{{ registry_user }}"
password: "{{ registry_password }}"
- name: Write TLS private key