Commit 04d4ecaa authored by nono's avatar nono 💻
Browse files

Finished

parent ef192357
......@@ -8,7 +8,7 @@
path: /home/hedgedocs/hedgedoc/bin/setup
owner: hedgedocs
group: www-data
mode: '0777'
mode: 0777
- name: Configuration des dépendances
ansible.builtin.shell: /home/hedgedocs/hedgedoc/bin/setup >> /home/hedgedocs/setup_log_hedgedocs.txt
......@@ -20,9 +20,9 @@
path: /home/hedgedocs/hedgedoc/bin/setup
owner: hedgedocs
group: www-data
mode: '0644'
mode: 0644
- name: Configuration du service HedgeDocs
- name: Écriture de la configuration du service HedgeDocs
template:
src: files/config.json.j2
dest: /home/hedgedocs/hedgedoc/config.json
......@@ -30,6 +30,13 @@
group: www-data
mode: 0600
- name: Vérification des permissions du dossier Hedgedocs
file:
path: /home/hedgedocs/hedgedoc/
owner: hedgedocs
group: www-data
mode: 0750
- name: Configuration du fichier SystemD
template:
src: files/hedgedocs.service
......@@ -54,4 +61,9 @@
name: nginx
enabled: yes
- name: Service running !
debug:
msg:
- "\n\e[42m;37m Le service Hedgedocs est maintenant en service sur : {{ service_hedgedocs_domain }} !\e[0m\n"
# And we're done !
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment