aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLarry Smith Jr <larry.e.smith.jr@gmail.com>2015-08-06 22:02:02 -0400
committerLarry Smith Jr <larry.e.smith.jr@gmail.com>2015-08-06 22:02:02 -0400
commit71120079ebad6c0a479072cad8fee7b210b892db (patch)
treefc5bc9df9af800a9c18eb1289249aed8145d9677
parent1e134d616962cde50ab0b79156620422d169413f (diff)
downloadansible-rabbitmq-71120079ebad6c0a479072cad8fee7b210b892db.tar.gz
ansible-rabbitmq-71120079ebad6c0a479072cad8fee7b210b892db.tar.zst
ansible-rabbitmq-71120079ebad6c0a479072cad8fee7b210b892db.zip
fixed stat check
-rw-r--r--README.md2
-rw-r--r--tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 28b2b03..4d1266a 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Installs rabbitmq https://www.rabbitmq.com/ (Configurable...HA and Clustering re
6Requirements 6Requirements
7------------ 7------------
8 8
9Any 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. 9Ensure hostnames are resolvable prior to clustering...either update /etc/hosts or ensure DNS is working.
10 10
11Role Variables 11Role 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