]>
Commit | Line | Data |
---|---|---|
eb299d9b LSJ |
1 | Role Name |
2 | ========= | |
3 | ||
a06e4a79 | 4 | Installs rabbitmq https://www.rabbitmq.com/ (Configurable...HA and Clustering ready) |
eb299d9b LSJ |
5 | |
6 | Requirements | |
7 | ------------ | |
8 | ||
9 | Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. | |
10 | ||
11 | Role Variables | |
12 | -------------- | |
13 | ||
14 | ```` | |
a290f6cf | 15 | config_rabbitmq_ha: false #defines if rabbitmq ha should be configured...define here or in group_vars/group |
9658075b LSJ |
16 | enable_rabbitmq_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group |
17 | erlang_cookie: LSKNKBELKPSTDBBCHETL #define erlang cookie for cluster...define here or in group_vars/group | |
a290f6cf LSJ |
18 | rabbitmq_config: |
19 | - queue_name: logstash | |
20 | durable: true | |
21 | exchange_name: logstash | |
22 | type: fanout | |
23 | routing_key: logstash | |
24 | tags: 'ha-mode=all,ha-sync-mode=automatic' | |
9658075b LSJ |
25 | rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group |
26 | ```` | |
27 | ||
28 | example... | |
29 | group_vars/rabbitmq-cluster-nodes | |
30 | ```` | |
31 | --- | |
32 | enable_rabbitmq_clustering: true | |
33 | config_rabbitmq_ha: false | |
34 | rabbitmq_master: ans-test-1 | |
eb299d9b LSJ |
35 | ```` |
36 | ||
37 | Dependencies | |
38 | ------------ | |
39 | ||
40 | A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. | |
41 | ||
42 | Example Playbook | |
43 | ---------------- | |
44 | ||
45 | Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: | |
46 | ||
47 | - hosts: servers | |
48 | roles: | |
49 | - { role: mrlesmithjr.rabbitmq } | |
50 | ||
51 | License | |
52 | ------- | |
53 | ||
54 | BSD | |
55 | ||
56 | Author Information | |
57 | ------------------ | |
58 | ||
59 | Larry Smith Jr. | |
60 | - @mrlesmithjr | |
61 | - http://everythingshouldbevirtual.com | |
62 | - mrlesmithjr [at] gmail.com |