Giter VIP home page Giter VIP logo

ansible-role-uwsgi-vassal's People

Contributors

adamyala avatar vforgione avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-role-uwsgi-vassal's Issues

`pythonpath` and `chdir` are incorrect

In my playbook I add my role and the app_name

    - role: uwsgi-vassal
      app_name: foo

Below is part of the contents of foo.ini

pythonpath = /www/foo
chdir = /www/foo

/www/... is hardcoded. Can this be made configurable?

Below is my working configuration

pythonpath = /var/venvs/foo/bin/python
chdir = /pathtorepo/foo/foo

role fails when redeploying projects that change local git file

I'm using this role to deploy and redeploy a django application. At the end of my first deployment I run commands like collectstatic. If I try to redeploy the same project using this role I get the error:

TASK [uwsgi-vassal : cloning project into path/here]
fatal: [54.237.192.11]: FAILED! => {"before": "182e722d472b44779e3ac7b2e101ba7116dabd2b", "changed": false, "failed": true, "msg": "Local modifications exist in repository (force=no).", "warnings": []}

I was able to remedy this by adding force: yes

Deprecation Warnings

While building I received the following deprecation issues.

TASK [uwsgi-vassal : installing system packages] *******************************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your
playbooks so that the environment value uses the full variable syntax
('{{system_packages}}').
This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
TASK [uwsgi-vassal : pip installing python packages] ***************************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your
playbooks so that the environment value uses the full variable syntax
('{{python_packages}}').
This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.

I'd like to continue using this role, but might have to drop it when ansible axes that syntax.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.