This repository holds an Ansible role
that is installable using ansible-galaxy
. This role contains
tasks used to install and set up a rabbitmq task queue for use with a
Django web app. It exists primarily to support the Caktus Django
project template.
More complete documenation can be found in caktus/tequila.
This Ansible role is released under the BSD License. See the LICENSE file for more details.
If you think you've found a bug or are interested in contributing to this project check out tequila-rabbitmq on Github.
Development sponsored by Caktus Consulting Group, LLC.
Create an ansible.cfg
file in your project directory to tell
Ansible where to install your roles (optionally, set the
ANSIBLE_ROLES_PATH
environment variable to do the same thing, or
allow the roles to be installed into /etc/ansible/roles
)
[defaults] roles_path = deployment/roles/
Create a requirements.yml
file in your project's deployment
directory
--- # file: deployment/requirements.yml - src: https://github.com/caktus/tequila-rabbitmq version: 0.1.0
Run ansible-galaxy
with your requirements file
$ ansible-galaxy install -r deployment/requirements.yml
or, alternatively, run it directly against the url
$ ansible-galaxy install git+https://github.com/caktus/tequila-rabbitmq
The project then should have access to the tequila-rabbitmq
role in
its playbooks.
The following variables are made use of by the tequila-rabbitmq
role:
project_name
requiredenv_name
requiredbroker_password
required