1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_pretix.git synced 2024-10-28 22:01:03 +01:00
ansible_collection_pretix/roles/pretix/tasks/user.yml
2024-10-08 01:51:38 +02:00

17 lines
393 B
YAML

---
- name: Create group for pretix
become: true
ansible.builtin.group:
name: "{{ pretix__group }}"
state: present
- name: Add user for pretix with disabled password
become: true
ansible.builtin.user:
name: "{{ pretix__user }}"
home: "{{ pretix__home }}"
group: "{{ pretix__group }}"
password: '!'
create_home: true
system: true
shell: '/bin/bash'