install-service.yml 618 Bytes
Newer Older
nono's avatar
nono committed
1
2
3
4
5
6
7
---

# Basé sur https://github.com/hedgedoc/hedgedoc/blob/2338a98731bd38717e43403f8eb2ab831e5bdd81/docs/setup/manual-setup.md
# Décembre 2020

- name: Téléchargement de l'archive
  get_url:
nono's avatar
nono committed
8
    url: https://github.com/hedgedoc/hedgedoc/releases/download/{{hedgedoc_version}}/hedgedoc-{{hedgedoc_version}}.tar.gz
nono's avatar
nono committed
9
    dest: /home/hedgedocs/hedgedoc-source.tar.gz
nono's avatar
nono committed
10
11
12
    owner: hedgedocs
    group: www-data
    mode: 0644
nono's avatar
nono committed
13
14
15
16
17

- name: Extraction de l'archive
  unarchive:
    src: /home/hedgedocs/hedgedoc-source.tar.gz
    dest: /home/hedgedocs/
nono's avatar
nono committed
18
19
20
    owner: hedgedocs
    group: www-data
    mode: 0644
nono's avatar
nono committed
21
    remote_src: yes