casl-ansible
casl-ansible copied to clipboard
aws-provisioning: Support custom hostnames
The AWS instances (as most public cloud providers do) are using hostnames tied to their IP/region, etc. -i.e.: ip-172-31-8-56.us-west-2.compute.internal
... this isn't ideal when it comes to naming the hosts within OpenShift. Just like we do for OpenStack, it would be preferred to have the hostnames reflect the role of the instance - i.e.: master, infra-node, app-node, etc.
I believe that changing the hostname means you will not be able to use the AWS cloud provider, I went through a similar exercise myself with a different set of playbooks.