Skip to content

Commit 85b8ebf

Browse files
committed
Fix #11: Use the appropriate setting to check for wsgi
1 parent d2911cc commit 85b8ebf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Optional Configuration variables
3838

3939
- `conf.name`: The application name (machine name), the same as the Python app. Default: `{{ project }}`
4040
- `conf.python_version`: The python version to install (major.minor), default: `3.5`.
41+
- `conf.virtualenv_dir`: Virtualenvs home directory, default to vars' respective option.
4142
- `conf.wsgi_script`: The wsgi script, default: `index.wsgi`.
4243
- `conf.compile_msgs`: Set to `true` in order to compile i18n messages.
4344
- `conf.memcached`: Set to `true` in order to clear cache.

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Deploys a Django app to Plesk
33

44
- 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
5+
local_action: stat path={{ conf.dev_path }}/{{ conf.wsgi_script }}
66
register: check_dev_path
77
failed_when: check_dev_path.stat.exists == False
88

0 commit comments

Comments
 (0)