App Virtualenv with Hostname not Picked up by ansible_nginx_uwsgi_supervisor role #3

Open
opened 2015-07-21 08:46:51 -04:00 by dorian.pula · 0 comments
dorian.pula commented 2015-07-21 08:46:51 -04:00 (Migrated from gitlab.com)

Final UWSGI configuration is not adding in the specified virtualenv directory.

Role Configuration

#!yaml

roles:
        - role: "ansible-rookeries"
          rookeries_app_name: rookeries
          rookeries_app_hostname: rookeries.org

Expected

#!python

  [uwsgi]
  chdir = /srv/www/rookeries_rookeries.org
  virtualenv = /srv/www/virtualenvs/rookeries_rookeries.org
  module = rookeries:make_rookeries_app()

Actual

#!python

  [uwsgi]
  chdir = /srv/www/rookeries_rookeries.org
  virtualenv = /srv/www/virtualenvs/rookeries
  module = rookeries:make_rookeries_app()

Final UWSGI configuration is not adding in the specified virtualenv directory. ## Role Configuration ## ``` #!yaml roles: - role: "ansible-rookeries" rookeries_app_name: rookeries rookeries_app_hostname: rookeries.org ``` ## Expected ## ``` #!python [uwsgi] chdir = /srv/www/rookeries_rookeries.org virtualenv = /srv/www/virtualenvs/rookeries_rookeries.org module = rookeries:make_rookeries_app() ``` ## Actual ## ``` #!python [uwsgi] chdir = /srv/www/rookeries_rookeries.org virtualenv = /srv/www/virtualenvs/rookeries module = rookeries:make_rookeries_app() ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: rookeries/ansible-rookeries#3
No description provided.