ansible-rabbitmq icon indicating copy to clipboard operation
ansible-rabbitmq copied to clipboard

Properly detect the master node when running on AWS EC2

Open veger opened this issue 8 years ago • 0 comments

When running on Amazon EC2 instances, the nodes use the public DNS name. ansible_fqdn contains the internal EC2 name. As a result no master node is found, and creating the cluster fails.

This PR add ec2_public_dns_name (if present) to find the master node.

:warning: ~Note that the fix of PR #22 is included and extended upon~

veger avatar Dec 08 '16 15:12 veger