Kitware / gobig

Provisioning big data applications with Resonant
Apache License 2.0
5 stars 3 forks source link

add option "add_by_hostname" to ec2-pod role #40

Closed opadron closed 8 years ago

opadron commented 8 years ago

Fixes #39

Adds a new option: add_by_hostname to the ec2-pod role that serves as an explicit opt-in option for preserving the current behavior whereby managed ec2 instances are added to the live inventory by their public fqdn. This behavior causes problems when ansible creates sockets for each of these hosts using file names that are too long. Therefore, this PR changes the default behavior to add the instances by their public ip addresses (far fewer characters needed).

opadron commented 8 years ago

@kotfic PTAL

kotfic commented 8 years ago

@opadron LGTM