Kevin Carter f139eb09d4 added role to pin packages
This new role is now providing the ability for a user to pin apt
packages as they see fit. The idea is to allow someone to implement
pinning in a generic way that can be represented as a global variable
or as a hostvar. The new role has been added to all install roles as
a dependency which will allow it to ensure that packages are pinned
everywhere as would be expected.

Change-Id: I354e8515570fa7174366ba57d57aece3c304568e
2015-05-08 13:22:42 -05:00
..
2015-05-08 13:22:42 -05:00

OpenStack rabbitmq server

tags

openstack, rabbitmq, server, cloud, ansible

category

*nix

Role to deploy rabbitmq and cluster it when there are more than one nodes.

- name: Install rabbitmq server
  hosts: rabbitmq_all
  max_fail_percentage: 20
  user: root
  roles:
    - { role: "rabbitmq_server", tags: [ "rabbitmq-server" ] }
  vars:
    rabbitmq_cookie_token: secrete
    container_address: "{{ ansible_ssh_host }}"