diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | tasks/main.yml | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ Installs rabbitmq https://www.rabbitmq.com/ (Configurable...HA and Clustering re | |||
6 | Requirements | 6 | Requirements |
7 | ------------ | 7 | ------------ |
8 | 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. | 9 | Ensure hostnames are resolvable prior to clustering...either update /etc/hosts or ensure DNS is working. |
10 | 10 | ||
11 | Role Variables | 11 | Role Variables |
12 | -------------- | 12 | -------------- |
diff --git a/tasks/main.yml b/tasks/main.yml index edd55df..cd24ad2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml | |||
@@ -7,7 +7,7 @@ | |||
7 | register: clustered | 7 | register: clustered |
8 | 8 | ||
9 | - include: rabbitmq_clustering.yml | 9 | - include: rabbitmq_clustering.yml |
10 | when: enable_rabbitmq_clustering and not clustered.stat.exists | 10 | when: enable_rabbitmq_clustering and (clustered.stat.exists != True) |
11 | 11 | ||
12 | - include: rabbitmq_ha_config.yml | 12 | - include: rabbitmq_ha_config.yml |
13 | when: config_rabbitmq_ha and enable_rabbitmq_clustering | 13 | when: config_rabbitmq_ha and enable_rabbitmq_clustering |