Varia library working group XPPL.
https://gitea.xpub.nl/XPUB/XPPL
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
533 B
33 lines
533 B
6 years ago
|
---
|
||
|
|
||
|
- name: Ensure the XPPL group exists.
|
||
|
become: true
|
||
|
group:
|
||
|
name: xppl
|
||
|
system: true
|
||
|
state: present
|
||
|
|
||
|
- name: Ensure the XPPL user exists.
|
||
|
become: true
|
||
|
user:
|
||
|
name: xppl
|
||
|
system: true
|
||
|
groups: xppl
|
||
|
create_home: false
|
||
|
|
||
|
- name: Add the XPPL user to the XPPL group.
|
||
|
become: true
|
||
|
user:
|
||
|
name: xppl
|
||
|
groups: xppl
|
||
|
append: true
|
||
|
|
||
|
- name: Ensure the XPPL root directory is created.
|
||
|
become: true
|
||
|
file:
|
||
|
path: /var/xppl/
|
||
|
state: directory
|
||
|
owner: xppl
|
||
|
group: xppl
|
||
|
mode: 0755
|