xoxys.cups/tasks/prepare.yml
Robert Kaussow 3e53b8c353
All checks were successful
continuous-integration/drone/push Build is passing
add salt to password hash
2019-02-13 00:18:44 +01:00

11 lines
301 B
YAML

---
- block:
- name: Create user '{{ cups_admin_username }}'
user:
comment: Cups Admin
name: "{{ cups_admin_username }}"
password: "{{ cups_admin_password | password_hash('sha512', inventory_hostname) }}"
groups: printadmin
become: True
become_user: root