Skip to content

Commit

Permalink
Allow to disable service manager detection
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseKilo committed Dec 17, 2016
1 parent 176fbcf commit cdf03bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ wsgi_virtualenv: "{{deploy_dir|default('/opt/wsgi')}}/env"
wsgi_virtualenv_python: python

wsgi_service: upstart
wsgi_service_autodetect: true # Try to detect wsgi_service

# UWSGI default options (can be redefined for each wsgi app)
wsgi_uwsgi_enable_threads: no
Expand Down
1 change: 1 addition & 0 deletions tasks/wsgi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---

- include_vars: "{{ansible_distribution}}.yml"
when: wsgi_service_autodetect

- include: dirs.yml
tags: [wsgi, wsgi-dirs]
Expand Down

0 comments on commit cdf03bc

Please sign in to comment.