1- ansible-django-stack
2- ====================
1+ # Ansible Django Stack
32
43![ Build Status] ( https://github.com/jcalazan/ansible-django-stack/actions/workflows/molecule.yml/badge.svg?branch=master )
54
5+ This is a complete Ansible playbook that will deploy a Django application to a
6+ server. It includes roles for setting up a PostgreSQL database, Nginx web
7+ server, Gunicorn application server, and Celery task queue.
8+
9+ ## Requirements
10+
611Ansible Playbook designed for environments running a Django app.
712It can install and configure these applications that are commonly used in
813production Django deployments:
@@ -26,6 +31,10 @@ trusted SSL certificates with [Let's Encrypt][lets-encrypt].
2631
2732** Tested with Cloud Providers:** [ Digital Ocean] [ digital-ocean ] , [ AWS] [ aws ] , [ Rackspace] [ rackspace ]
2833
34+ ## Python Requirements
35+
36+ This project requires ** Python 3.12 or 3.13** . Earlier versions of Python are no longer supported.
37+
2938## Getting Started
3039
3140A quick way to get started is with Vagrant.
@@ -194,9 +203,6 @@ ansible-playbook --ssh-extra-args=-A -i production site.yml
194203This is a little bit clunky but it does not restrict you from setting other
195204SSH options if you need to.
196205
197-
198-
199-
200206## Security
201207
202208* NOTE: Do not run the Security role without understanding what it does.
@@ -318,14 +324,16 @@ The [Vagrantfile](Vagrantfile) uses the Ubuntu 22.04 LTS Vagrant box for a
318324
319325### Changing the Python version used by your application
320326
321- Python 3 is used by default in the ` virtualenv ` . To use Python 2 instead, just
322- override the ` virtualenv_python_version ` variable and set it to ` python ` .
327+ This project supports Python 3.12 and 3.13. Python 3.12 is used by default in the ` virtualenv ` .
328+ To use Python 3.13 instead, override the ` virtualenv_python_version ` variable and set it to ` python3.13 ` .
323329
324330It is possible to install other versions of Python from an
325331[ unofficial PPA by Felix Krull (see disclaimer)] [ deadsnakes ] .
326332To use this PPA, override the ` enable_deadsnakes_ppa ` variable and set it to
327333` yes ` . Then the ` virtualenv_python_version ` variable can be set to the name of
328- a Python package from this PPA, such as ` python3.6 ` .
334+ a Python package from this PPA, such as ` python3.12 ` or ` python3.13 ` .
335+
336+ ** Note:** Only Python 3.12 and 3.13 are officially supported and tested.
329337
330338### Changing the Python version used by Ansible
331339
0 commit comments