diff options
author | Larry Smith Jr <larry.e.smith.jr@gmail.com> | 2015-08-06 22:02:02 -0400 |
---|---|---|
committer | Larry Smith Jr <larry.e.smith.jr@gmail.com> | 2015-08-06 22:02:02 -0400 |
commit | 71120079ebad6c0a479072cad8fee7b210b892db (patch) | |
tree | fc5bc9df9af800a9c18eb1289249aed8145d9677 | |
parent | 1e134d616962cde50ab0b79156620422d169413f (diff) | |
download | ansible-rabbitmq-71120079ebad6c0a479072cad8fee7b210b892db.tar.gz ansible-rabbitmq-71120079ebad6c0a479072cad8fee7b210b892db.tar.zst ansible-rabbitmq-71120079ebad6c0a479072cad8fee7b210b892db.zip |
fixed stat check
-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 |