|
|
|
@ -212,6 +212,12 @@
|
|
|
|
NODE_ENV: production
|
|
|
|
NODE_ENV: production
|
|
|
|
PNPM_HOME: /var/www/.local/share/pnpm
|
|
|
|
PNPM_HOME: /var/www/.local/share/pnpm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Redémarrer le service bricoloc-legacy après déploiement
|
|
|
|
|
|
|
|
systemd:
|
|
|
|
|
|
|
|
name: bricoloc-legacy
|
|
|
|
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
daemon_reload: yes
|
|
|
|
|
|
|
|
|
|
|
|
- name: Afficher l'URL d'accès
|
|
|
|
- name: Afficher l'URL d'accès
|
|
|
|
debug:
|
|
|
|
debug:
|
|
|
|
msg: "Nginx est accessible à l'adresse : https://defder.fr (ou http://{{ server_ip.stdout.split()[0] }} qui redirige vers HTTPS)"
|
|
|
|
msg: "Nginx est accessible à l'adresse : https://defder.fr (ou http://{{ server_ip.stdout.split()[0] }} qui redirige vers HTTPS)"
|
|
|
|
|