Commit cc176620 by Feanil Patel

Merge pull request #149 from edx/feanil/rabbit_debian_support

Need an extra package if we're using debian for rabbit clustering.
parents 5c42000d 043ebc39
......@@ -6,6 +6,10 @@
- name: trust rabbit repository
apt_key: url={{rabbitmq_apt_key}} state=present
- name: install python-software-properties if debian
apt: pkg={{",".join(rabbitmq_debian_pkgs)}} state=present
when: ansible_distribution == 'Debian'
- name: add rabbit repository
apt_repository: repo="{{rabbitmq_repository}}" state=present
......
......@@ -3,6 +3,8 @@
rabbitmq_apt_key: "http://www.rabbitmq.com/rabbitmq-signing-key-public.asc"
rabbitmq_repository: "deb http://www.rabbitmq.com/debian/ testing main"
rabbitmq_pkg: "rabbitmq-server"
rabbitmq_debian_pkgs:
- python-software-properties
rabbitmq_config_dir: "/etc/rabbitmq"
rabbitmq_cookie_dir: "/var/lib/rabbitmq"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment