Skip to content

Commit 136b576

Browse files
Changed the hosts in configuration/deploy.yml to all
1 parent 5a8ee83 commit 136b576

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎configuration/deploy.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Deploy Django Application
3-
hosts: webservers
3+
hosts: all
44
become: yes
55
remote_user: azureuser
66

@@ -102,7 +102,7 @@
102102
group: azureuser
103103

104104
- name: Restart or Start Next.js with PM2
105-
shell: pm2 restart nexjs-frontend || pm2 start npm --name "nextjs-frontend" --start
105+
shell: pm2 restart nextjs-frontend || pm2 start npm --name "nextjs-frontend" -- start
106106
args:
107107
chdir: "{{ project_dir }}/client"
108108
become_user: azureuser

0 commit comments

Comments
 (0)