diff --git a/tasks/configuration.yml b/tasks/configuration.yml index 3318c7c894d9b3c44a9712e0fd1508f99f5e7648..dab71020397d68aeaf349a11d9a1263968ee98d8 100644 --- a/tasks/configuration.yml +++ b/tasks/configuration.yml @@ -1,24 +1,24 @@ ----- +--- # 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: - src: ../files/config.json.j2 - dest: /home/hedgedocs/config.json - owner: hedgedocs - groupe: www-data - mode: 0644 + src: ../files/config.json.j2 + dest: /home/hedgedocs/config.json + owner: hedgedocs + groupe: www-data + mode: 0644 - name: Configuration du fichier SystemD - template: - src: ../files/hedgedocs.service - dest: /etc/systemd/system/hedgedocs.service - owner: hedgedocs - groupe: www-data - mode: 0644 - handlers: - - Reload systemd + template: + src: ../files/hedgedocs.service + dest: /etc/systemd/system/hedgedocs.service + owner: hedgedocs + groupe: www-data + mode: 0644 + handlers: + - Reload systemd - name: Activation de la configuration systemd systemd: diff --git a/tasks/install-requirements.yml b/tasks/install-requirements.yml index f26d09d8ea1018e736adada74618940bb8831493..16c6e9ed1b961ce02af2ffd9f348531ce2833bba 100644 --- a/tasks/install-requirements.yml +++ b/tasks/install-requirements.yml @@ -1,6 +1,6 @@ --- -name: Installation des dépendances pour HedgeDoc +- name: Installation des dépendances pour HedgeDoc apt: name: ['postgresql','nodejs','git','npm','yarn','bash','nginx'] state: present