We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 403ebf4 commit 2ca8d83Copy full SHA for 2ca8d83
tasks/main.yml
@@ -1,6 +1,11 @@
1
---
2
# Deploys a Django app to Plesk
3
4
+- name: Check that project path in dev as specified in configuration is valid and has wsgi script
5
+ local_action: stat path={{ conf.dev_path }}/index.wsgi
6
+ register: check_dev_path
7
+ fail_when: check_dev_path.stat.exists == False
8
+
9
- name: Set Python executable
10
set_fact: python="`which python{{ conf.python_version | default('3.5') }}`"
11
0 commit comments