xoxys.cups/tasks/prepare.yml

11 lines
301 B
YAML
Raw Normal View History

2019-02-12 22:31:40 +00:00
---
- block:
- name: Create user '{{ cups_admin_username }}'
user:
comment: Cups Admin
name: "{{ cups_admin_username }}"
2019-02-12 23:18:44 +00:00
password: "{{ cups_admin_password | password_hash('sha512', inventory_hostname) }}"
2019-02-12 22:31:40 +00:00
groups: printadmin
become: True
become_user: root