workadventure: Add creation of user and group

This commit is contained in:
Thomas Basler 2022-01-19 19:49:11 +01:00
parent 0dfc8ca853
commit 3325ebe70e
1 changed files with 11 additions and 0 deletions

View File

@ -9,6 +9,17 @@
- name: Install git
apt: name=git
- name: Create workadventure group
group: name=workadventure
- name: Create workadventure user
user:
name: workadventure
home: /opt/workadventure
shell: /bin/zsh
group: workadventure
groups: docker
- name: Install systemd unit
template: src=workadventure.service.j2 dest=/lib/systemd/system/workadventure.service
notify: