ansible/roles/codimd/tasks/1_user_group.yml
Alexandre Iooss fd7efc6775 Fix YML
2019-02-09 08:01:19 +01:00

26 lines
442 B
YAML

---
# Security #1
- name: Create CodiMD system group
group:
name: codimd
system: yes
state: present
# Security #2
- name: Create CodiMD user
user:
name: codimd
group: codimd
home: /var/local/codimd
comment: CodiMD
system: yes
state: present
# Security #3
- name: Secure CodiMD home directory
file:
path: /var/local/codimd
state: directory
owner: codimd
group: codimd
mode: 0750