update-frontend-prod complete
parent
9c7a582d30
commit
6f0555f279
|
@ -30,7 +30,8 @@
|
||||||
when:
|
when:
|
||||||
- ('No virtualenv' in pipenv_venv_check_cmd.stderr)
|
- ('No virtualenv' in pipenv_venv_check_cmd.stderr)
|
||||||
|
|
||||||
|
# Source: https://ansibledaily.com/execute-detached-process-with-ansible/
|
||||||
- name: Launch app
|
- name: Launch app
|
||||||
shell: "pipenv run flask run &"
|
shell: "(nohup pipenv run flask run </dev/null >/dev/null 2>&1 &)"
|
||||||
args:
|
args:
|
||||||
chdir: "{{ frontend_project_path }}"
|
chdir: "{{ frontend_project_path }}"
|
Loading…
Reference in New Issue