xoxys.jellyfin/tasks/prepare.yml
Robert Kaussow 1f71b639f6
Some checks failed
continuous-integration/drone/push Build is failing
finish installation tasks
2019-02-01 23:05:15 +01:00

19 lines
527 B
YAML

---
- block:
- name: Create group '{{ jellyfin_group }}'
group:
name: "{{ jellyfin_group }}"
state: present
gid: "{{ jellyfin_gid | default(omit) }}"
- name: Create user '{{ jellyfin_user }}'
user:
comment: jellyfin
name: "{{ jellyfin_user }}"
home: "{{ jellyfin_user_home }}"
uid: "{{ jellyfin_uid | default(omit) }}"
group: "{{ jellyfin_group }}"
groups: "{{ jellyfin_extra_groups | join(',') }}"
become: True
become_user: root