2019-02-05 08:35:45 +01:00
|
|
|
---
|
|
|
|
# Security #1
|
|
|
|
- name: Create EtherPad system group
|
|
|
|
group:
|
|
|
|
name: etherpad
|
|
|
|
system: yes
|
|
|
|
state: present
|
|
|
|
|
|
|
|
# Security #2
|
|
|
|
- name: Create EtherPad user
|
|
|
|
user:
|
|
|
|
name: etherpad
|
|
|
|
group: etherpad
|
2019-02-19 10:49:18 +01:00
|
|
|
home: /var/local/etherpad
|
2019-02-05 08:35:45 +01:00
|
|
|
comment: EtherPad
|
|
|
|
system: yes
|
|
|
|
state: present
|
|
|
|
|
|
|
|
# Security #3
|
|
|
|
- name: Secure Etherpad home directory
|
|
|
|
file:
|
2019-02-19 10:49:18 +01:00
|
|
|
path: /var/local/etherpad
|
2019-02-05 08:35:45 +01:00
|
|
|
state: directory
|
|
|
|
owner: etherpad
|
|
|
|
group: etherpad
|
|
|
|
mode: 0750
|