diff --git a/playbooks/roles/registry/tasks/main.yaml b/playbooks/roles/registry/tasks/main.yaml index 0aafb634d3..5fcaad3081 100644 --- a/playbooks/roles/registry/tasks/main.yaml +++ b/playbooks/roles/registry/tasks/main.yaml @@ -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