c97ccd6a5f
Adds initial support for Rabbitmq in Ansible using the CONFIG_EXTERNAL methods. Additionally, this refactors some of the Rabbitmq config script to allow for reuse by CONFIG_EXTERNAL. Partially Implements: blueprint ansible-service Change-Id: I1765548f7e4f1258eb8a49e2a23242955f52655d
10 lines
283 B
Django/Jinja
10 lines
283 B
Django/Jinja
[
|
|
{rabbit, [
|
|
{cluster_nodes, [{% for host in groups['database'] %}'rabbit@{{ hostvars[host]['ansible_hostname'] }}'{% if not loop.last %},{% endif %}{% endfor %}]},
|
|
{default_user, <<"{{ rabbitmq_user }}">>},
|
|
{default_pass, <<"{{ rabbitmq_password }}">>}
|
|
]}
|
|
].
|
|
% EOF
|
|
|