-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Ansible feature request: Populate ansible.inventory_file with new IP address #1664
Comments
/cc @commandtab |
It's in the works, though it seems it will have to be on a per-VM basis. Multi-VM inventory (all in one file at run time, with |
Cool. A per-vm basis solution is all I need right now. I think people will get a lot of use out of that. |
Hi @commandtab Any news on this - we're just doing some automated provisionsing on digitalocean and have hit the same skids - its hackable - but would rather it was part of the library. |
#1907 adds support for this :) |
Awesome! Thanks! |
Fixed by #1907 |
Hi, I love the new Ansible integration - this is the first time I've felt like it was easy enough to get a small bit of devops going, and it's really great.
One thing I'd love to see is a way to make new IP addresses available to Ansible so that automated provisioning can proceed. I'm developing small sites which deploy to either virtualbox or this digital_ocean provider. Because Ansible requires your IP host to be in the
ansible_hosts
file, all new hosts require an extra step of editing that file. For work on virtualbox, I can anticipate what that will be (127.0.0.1:2222), but on digital ocean, a new IP address is returned at runtime. If Vagrant could handle that step, I'd have an end-to-end process that I could share with other devs who like this approach. Right now, I don't see a way to make this work when you first provision. Of course, once I manually add the IP to myansible_hosts
,vagrant provision
is working fine.Thanks for your consideration, and thanks for Vagrant!
The text was updated successfully, but these errors were encountered: