Skip to content

Ansible role for creating a task queue for a Django project using RabbitMQ

License

Notifications You must be signed in to change notification settings

caktus/tequila-rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tequila-rabbitmq

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.

License

This Ansible role is released under the BSD License. See the LICENSE file for more details.

Contributing

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.

Installation

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.

Variables

The following variables are made use of by the tequila-rabbitmq role:

  • project_name required
  • env_name required
  • broker_password required

About

Ansible role for creating a task queue for a Django project using RabbitMQ

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •