From c3adf6fb24f2f4869993d6eb1095d543aa591d61 Mon Sep 17 00:00:00 2001 From: Erik Taubeneck Date: Tue, 9 Jul 2024 11:46:04 -0700 Subject: [PATCH] restart in deploy.yaml --- server/ansible/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/ansible/deploy.yaml b/server/ansible/deploy.yaml index 9c8d27f..9853aac 100644 --- a/server/ansible/deploy.yaml +++ b/server/ansible/deploy.yaml @@ -21,9 +21,9 @@ chdir: '{{ ansible_env.HOME }}/draft/server' executable: /bin/bash - - name: start traefik and nextjs + - name: restart traefik and nextjs shell: > - source ansible/load_secrets.sh && npm run pm2-start + source ansible/load_secrets.sh && npm run pm2-restart environment: CERT_DIR: '{{ ansible_env.HOME }}/cert/' DRAFT_DOMAIN: '{{ draft_domain }}'