Skip to content

Commit 1a8d3b8

Browse files
committed
Add support to bypass hostname writting
1 parent bd6d8f2 commit 1a8d3b8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

defaults/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,13 @@ rabbitmq_cluster_api_user : "api-automation"
6666
rabbitmq_cluster_api_password : "api-password"
6767

6868
# How to get the IPs of cluster
69-
rabbitmq_clustering_resolve_names : "ansible" # ['ansible', dns]
69+
rabbitmq_clustering_resolve_names : "dns" # ['no', dns]
7070

7171
## Probably dont need to change that stuff
7272
### Construct a regex to match group before .
7373
rabbitmq_cluster_post_fix_domain_regex_replace: "([^.]*).*"
7474
# Print extra message related to inventory
7575
rabbitmq_cluster_debug : false
76+
#
77+
rabbit_cluster_nodes_version : []
7678

tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- block:
2020
- include: cluster/checks.yml
2121
- include: cluster/hostnames.yml
22+
when: rabbitmq_clustering_resolve_names != "no"
2223
- include: cluster/erlang_cookie.yml
2324
- include: cluster/cluster.yml
2425
when: rabbitmq_clustering

0 commit comments

Comments
 (0)