Skip to content
Extraits de code Groupes Projets
Valider 04d4ecaa rédigé par nono's avatar nono :computer:
Parcourir les fichiers

Finished

parent ef192357
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
path: /home/hedgedocs/hedgedoc/bin/setup path: /home/hedgedocs/hedgedoc/bin/setup
owner: hedgedocs owner: hedgedocs
group: www-data group: www-data
mode: '0777' mode: 0777
- name: Configuration des dépendances - name: Configuration des dépendances
ansible.builtin.shell: /home/hedgedocs/hedgedoc/bin/setup >> /home/hedgedocs/setup_log_hedgedocs.txt ansible.builtin.shell: /home/hedgedocs/hedgedoc/bin/setup >> /home/hedgedocs/setup_log_hedgedocs.txt
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
path: /home/hedgedocs/hedgedoc/bin/setup path: /home/hedgedocs/hedgedoc/bin/setup
owner: hedgedocs owner: hedgedocs
group: www-data group: www-data
mode: '0644' mode: 0644
- name: Configuration du service HedgeDocs - name: Écriture de la configuration du service HedgeDocs
template: template:
src: files/config.json.j2 src: files/config.json.j2
dest: /home/hedgedocs/hedgedoc/config.json dest: /home/hedgedocs/hedgedoc/config.json
...@@ -30,6 +30,13 @@ ...@@ -30,6 +30,13 @@
group: www-data group: www-data
mode: 0600 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 - name: Configuration du fichier SystemD
template: template:
src: files/hedgedocs.service src: files/hedgedocs.service
...@@ -54,4 +61,9 @@ ...@@ -54,4 +61,9 @@
name: nginx name: nginx
enabled: yes 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 ! # And we're done !
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter