From 482bfb8846445b56465ecb1aa6a3ff9efca7dde2 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 29 Nov 2024 09:47:43 +0100 Subject: [PATCH] copr-infra: hash the root password --- roles/copr/pre/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/pre/tasks/main.yml b/roles/copr/pre/tasks/main.yml index 28d7ca0cb6..83e9ff2d4f 100644 --- a/roles/copr/pre/tasks/main.yml +++ b/roles/copr/pre/tasks/main.yml @@ -2,7 +2,7 @@ - name: setup the root password ansible.builtin.user: name: root - password: "{{ copr_root_passwords[deployment_type][copr_machine_type] }}" + password: "{{ copr_root_passwords[deployment_type][copr_machine_type] | password_hash('sha512') }}" tags: - root_password