Closed oybed closed 8 years ago
@etsauer just as a FYI - this has successfully tested with the incorporation of the change in #191 ... hence, may want to test/merge that change first, then I can update this PR with the latest to get it working.
@etsauer this PR has been updated, please have another look and re-test / merge if everything looks A_OK to you.
looks great! merging.
What does this PR do?
Cleans up the hostname role to avoid using loops to set hostname. Also, removes the DNS tie to make the hostnames role more generic.
How should this be manually tested?
Provision an environment (e.g.: in OS1) and observe how the hostnames stays the same, but allows for custom dns domain - i.e.: set in the inventory file.
Also, custom hostnames can be set with the
custom_hostname
variable. To best test this, one may want to create a new playbook that just tests thehostnames
role.Is there a relevant Issue open for this?
resolves #180 resolves #181 resolves #183
Who would you like to review this?
/cc @etsauer @JayKayy