Fix htpasswd creation for registry
We were using the wrong filename and encryption type. Change-Id: I48d2a7288e5cd52e57f5632fee17f677429a1a9c
This commit is contained in:
parent
a65bbf7b16
commit
eeb69e7ba2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user