From 3e53b8c35313867960ea78373eb649e15c49b6d6 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 13 Feb 2019 00:18:44 +0100 Subject: [PATCH] add salt to password hash --- tasks/prepare.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/prepare.yml b/tasks/prepare.yml index 566519c..2d3be32 100644 --- a/tasks/prepare.yml +++ b/tasks/prepare.yml @@ -4,7 +4,7 @@ user: comment: Cups Admin name: "{{ cups_admin_username }}" - password: "{{ cups_admin_password | password_hash('sha512') }}" + password: "{{ cups_admin_password | password_hash('sha512', inventory_hostname) }}" groups: printadmin become: True become_user: root