]> git.immae.eu Git - github/fretlink/ansible-rabbitmq.git/commitdiff
fixed stat check
authorLarry Smith Jr <larry.e.smith.jr@gmail.com>
Fri, 7 Aug 2015 02:02:02 +0000 (22:02 -0400)
committerLarry Smith Jr <larry.e.smith.jr@gmail.com>
Fri, 7 Aug 2015 02:02:02 +0000 (22:02 -0400)
README.md
tasks/main.yml

index 28b2b0357a92ff16f9b80345b42bd763fb5652c4..4d1266aed56b808281ddc07252e869eebfe981f9 100644 (file)
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Installs rabbitmq https://www.rabbitmq.com/ (Configurable...HA and Clustering re
 Requirements
 ------------
 
 Requirements
 ------------
 
-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.
+Ensure hostnames are resolvable prior to clustering...either update /etc/hosts or ensure DNS is working.
 
 Role Variables
 --------------
 
 Role Variables
 --------------
index edd55df20c3c6d391b3ade1a950030e6bfd41163..cd24ad2f4ac6d41274c8096fd194bc9c46beac3d 100644 (file)
@@ -7,7 +7,7 @@
   register: clustered
 
 - include: rabbitmq_clustering.yml
   register: clustered
 
 - include: rabbitmq_clustering.yml
-  when: enable_rabbitmq_clustering and not clustered.stat.exists
+  when: enable_rabbitmq_clustering and (clustered.stat.exists != True)
 
 - include: rabbitmq_ha_config.yml
   when: config_rabbitmq_ha and enable_rabbitmq_clustering
 
 - include: rabbitmq_ha_config.yml
   when: config_rabbitmq_ha and enable_rabbitmq_clustering