workadventure: Add creation of user and group
This commit is contained in:
parent
0dfc8ca853
commit
3325ebe70e
@ -9,6 +9,17 @@
|
|||||||
- name: Install git
|
- name: Install git
|
||||||
apt: name=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
|
- name: Install systemd unit
|
||||||
template: src=workadventure.service.j2 dest=/lib/systemd/system/workadventure.service
|
template: src=workadventure.service.j2 dest=/lib/systemd/system/workadventure.service
|
||||||
notify:
|
notify:
|
||||||
|
Loading…
Reference in New Issue
Block a user