ansible-django | playbook | Continuous Deployment library
kandi X-RAY | ansible-django Summary
kandi X-RAY | ansible-django Summary
This playbook works with (or will aim to work with) the following technologies:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ansible-django
ansible-django Key Features
ansible-django Examples and Code Snippets
Community Discussions
Trending Discussions on ansible-django
QUESTION
I am using this Ansible-Django stack to deploy my Django project to an AWS EC2 instance. It worked fine for a long time, but now suddenly, I get the error below when deploying.
It seems like there is a new setuptools
build that is not properly updated.
- Why does it rollback the uninstall of
setuptools
? - Why does it not install
setuptools
36.2.2?
Specifying explicitly the version of setuptools
in my requirements solves this issue, but since I am only indirectly dependent on setuptools
, it should not be my responsibility to know which version to keep.
ANSWER
Answered 2017-Jul-25 at 16:29I had to ssh into the server and run
python -m pip install --upgrade -vv setuptools
and then I deployed again and it worked.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ansible-django
edit ~/.bash_rc (or other such file) to include an alias to the play script. alias playbook='~/Dev/ansible/play'
copy the inventory directory to your django project source tree (see below) and put all sensitive information in this folder (assuming your project is private).
copy the Vagrantfile to the same location.
modify line 51 to point at this repo you cloned: ansible.playbook = "~/Dev/ansible/playbook/site.yml"
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page