As you might expect, this is an simple example Ansible playbook for Django development.
Because this is an example, it does not currently include dynamically determining cloud-based inventories or provisioning production servers.
- Virtualbox
- Vagrant
- virtualenv and virtualenvwrapper
-
Clone this repository to your development machine.
git clone ...
-
Activate a new virtualenv and install the required development Python packages:
mkvirtualenv example pip install -r requirements/development.txt
-
Provision the vagrant box / virtual machine:
vagrant up --provision`.
Note that all of the variables in ansible/secret_vars
should be changed.
All of the files in that directory should be converted to
Ansible Vault
files.
If no Ansible Vault files have been created, entering anything at the Vault password prompt will work.