ansible-django-stack | Ansible Playbooks for Building a Django Web Application
kandi X-RAY | ansible-django-stack Summary
kandi X-RAY | ansible-django-stack Summary
The goal of this project is to create a configurable Ansible project that allows provisioning a Django web stack with many of the common services and features associated with such a stack. This project supports both Python 2.7 and 3.4+ on the target machine, but Python 3 support will take priority. Tested with Ansible 2.7.
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-stack
ansible-django-stack Key Features
ansible-django-stack Examples and Code Snippets
Community Discussions
Trending Discussions on ansible-django-stack
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-stack
Copy extra-vars.example.yml to extra-vars.yml
Customize extra-vars.yml with the variables needed for build. See playbooks/group_vars/all.yml for common variables to set.
Create or customize an inventory file such as inventory.ini. Set ssh connection parameters here. See the example ansible/inventory.ini
Choose a playbook to run. Options: To run everything, choose playbook-all.yml. Selectively disable roles, use the "ROLE FLAGS TO ENABLE/DISABLE" variable flags from playbooks/group_vars/all.yml To run specific playbooks, one of the others (see Playbooks available below). Create a custom playbook by modifying an existing one.
Run the playbook. Example: ansible-playbook -vvvv -i ansible/inventory.ini --extra-vars "@extra-vars.yml" ansible/playbooks/playbook-all.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