mirror of
https://github.com/roles-ansible/ansible_collection_pretix.git
synced 2024-10-28 22:01:03 +01:00
17 lines
393 B
YAML
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'
|