fix: fix used salt in password hash
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-06-05 16:01:16 +02:00
parent 8d248341b9
commit 9606e186a5
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -10,7 +10,7 @@
user:
comment: Cups Admin
name: "{{ item.name }}"
password: "{{ item.password | password_hash('sha512', inventory_hostname) }}"
password: "{{ item.password | password_hash('sha512', 65534 | random(seed=inventory_hostname) | string) }}"
groups: "{{ cups_admin_group }}"
state: present
loop: "{{ cups_admin_users }}"