Skip to content

sansible/rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ Server

Master: Build Status
Develop: Build Status

This roles installs RabbitMQ server.

Due to a bug, this role does not work with Ansible 2.1.0.0. Please update to 2.1.1.0.

ansible.cfg

This role is designed to work with merge "hash_behaviour". Make sure your ansible.cfg contains these settings

[defaults]
hash_behaviour = merge

Installation and Dependencies

To install this role run ansible-galaxy install sansible.rabbitmq or add this to your roles.yml.

- src: sansible.rabbitmq
  version: v1.0

and run ansible-galaxy install -p ./roles -r roles.yml

Tags

This role uses two tags: build and configure

  • build - Installs RabbitMQ server.
  • configure - Configures and ensures that the service is running.

Examples

To simply install Postgresql server:

- name: Install RabbitMQ
  hosts: sandbox

  pre_tasks:
    - name: Update apt
      become: yes
      apt:
        cache_valid_time: 1800
        update_cache: yes
      tags:
        - build

  roles:
    - role: sansible.rabbitmq