Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate the list of nodes in cluster-vars.yml and etc-hosts from vagrant/ansible #18

Open
obnoxxx opened this issue Mar 25, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@obnoxxx
Copy link
Collaborator

obnoxxx commented Mar 25, 2020

The vagrant file has the control over how many nodes are created and with which names and IP addresses. So we should not be maintaining the list of nodes in a second place (the cluster-vars.yml file that is used as an input for gluster-ansible). The node-list portion of this file should be generated.

@obnoxxx obnoxxx added the enhancement New feature or request label Mar 25, 2020
@obnoxxx obnoxxx changed the title Generate the list of nodes in cluster-vars.yml from vagrant/ansible Generate the list of nodes in cluster-vars.yml and etc-hosts from vagrant/ansible Mar 25, 2020
@obnoxxx
Copy link
Collaborator Author

obnoxxx commented Mar 25, 2020

Now that we have had to add an /etc/hosts file to work around broken dns resolution of vm names from libvirt/dnsmasq, that file should be generated as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant