configuration.yml 793 Bytes
Newer Older
nono's avatar
nono committed
1
---
nono's avatar
nono committed
2
3
4
5
6

# Voir : https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration.md
# et : https://github.com/hedgedoc/hedgedoc/blob/880af8d4f80b9e1dcaa30014d4ed5c41e351b564/docs/setup/reverse-proxy.md
- name: Configuration du service HedgeDocs
  template:
nono's avatar
nono committed
7
    src: files/config.json.j2
nono's avatar
nono committed
8
    dest: /home/hedgedocs/hedgedoc/onfig.json
nono's avatar
nono committed
9
    owner: hedgedocs
10
    group: www-data
nono's avatar
nono committed
11
    mode: 0644
nono's avatar
nono committed
12
13

- name: Configuration du fichier SystemD
nono's avatar
nono committed
14
  template:
nono's avatar
nono committed
15
    src: files/hedgedocs.service
nono's avatar
nono committed
16
17
    dest: /etc/systemd/system/hedgedocs.service
    owner: hedgedocs
18
    group: www-data
nono's avatar
nono committed
19
20
21
    mode: 0644
    handlers:
        - Reload systemd
nono's avatar
nono committed
22
23
24
25
26
27
28
29
30
31

- name: Activation de la configuration systemd
  systemd:
    state: started
    name: hedgedocs
    enabled: yes

- name: Reload systemd
  systemd:
    daemon_reload: yes