27 lines
664 B
YAML
27 lines
664 B
YAML
|
---
|
||
|
# Security #1
|
||
|
- name: Create matrix-appservice-webhooks system group
|
||
|
group:
|
||
|
name: matrix-appservice-webhooks
|
||
|
system: true
|
||
|
state: present
|
||
|
|
||
|
# Security #2
|
||
|
- name: Create matrix-appservice-webhooks user
|
||
|
user:
|
||
|
name: matrix-appservice-webhooks
|
||
|
group: matrix-appservice-webhooks
|
||
|
home: /var/local/matrix-appservice-webhooks
|
||
|
comment: Matrix Appservice WebHooks
|
||
|
system: true
|
||
|
state: present
|
||
|
|
||
|
# Security #3
|
||
|
- name: Secure matrix-appservice-webhooks home directory
|
||
|
file:
|
||
|
path: /var/local/matrix-appservice-webhooks
|
||
|
state: directory
|
||
|
owner: matrix-appservice-webhooks
|
||
|
group: matrix-appservice-webhooks
|
||
|
mode: 0750
|