This commit is contained in:
@@ -12,12 +12,12 @@
|
|||||||
dest: "{{ data_dir }}/nfl-proxy"
|
dest: "{{ data_dir }}/nfl-proxy"
|
||||||
|
|
||||||
- name: "Stop & remove existing PM2 containers"
|
- name: "Stop & remove existing PM2 containers"
|
||||||
ignore_errors: true
|
ignore_errors: yes
|
||||||
shell: |
|
shell: |
|
||||||
/home/alex/.nvm/versions/node/v24.4.0/bin/pm2 delete nfl-proxy
|
/home/alex/.nvm/versions/node/v24.4.0/bin/pm2 delete "nfl-proxy"
|
||||||
|
|
||||||
- name: "Start new PM2 container"
|
- name: "Start new PM2 container"
|
||||||
args:
|
args:
|
||||||
chdir: "{{ data_dir }}/nfl-proxy"
|
chdir: "{{ data_dir }}/nfl-proxy"
|
||||||
shell: |
|
shell: |
|
||||||
/home/alex/.nvm/versions/node/v24.4.0/bin/pm2 start --name="nfl-proxy" "venv/bin/activate && python3 main.py"
|
/home/alex/.nvm/versions/node/v24.4.0/bin/pm2 start --name="nfl-proxy" "venv/bin/activate && venv/bin/python main.py"
|
||||||
|
|||||||
Reference in New Issue
Block a user