{"id":15692646,"url":"https://github.com/zoni/vagrant-ansible-example","last_synced_at":"2025-05-08T02:44:35.476Z","repository":{"id":10767441,"uuid":"13031522","full_name":"zoni/Vagrant-Ansible-example","owner":"zoni","description":"An example of how to use Vagrant together with Ansible","archived":false,"fork":false,"pushed_at":"2013-09-23T09:21:04.000Z","size":104,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T16:52:51.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zoni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-23T09:18:37.000Z","updated_at":"2019-04-05T16:20:25.000Z","dependencies_parsed_at":"2022-08-26T12:21:03.504Z","dependency_job_id":null,"html_url":"https://github.com/zoni/Vagrant-Ansible-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoni%2FVagrant-Ansible-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoni%2FVagrant-Ansible-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoni%2FVagrant-Ansible-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoni%2FVagrant-Ansible-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoni","download_url":"https://codeload.github.com/zoni/Vagrant-Ansible-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252989681,"owners_count":21836663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T18:36:59.646Z","updated_at":"2025-05-08T02:44:35.455Z","avatar_url":"https://github.com/zoni.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Vagrant + Ansible example\n-------------------------\n\nThis is an example of how to use Vagrant together with Ansible, based on\nmy own playbooks. It has been released in this form in response to a\n[post on ansible-project](https://groups.google.com/forum/#!topic/ansible-project/Dk6yyrW8s9E)\nabout using Vagrant and Ansible together.\n\nUsage\n-----\n\nMake sure to have Vagrant's ssh key loaded, then:\n\n* `ansible-playbook --inventory-file hosts.ini vagrant-setup.yml`\n* Optionally followed by `ansible-playbook --inventory-file hosts.ini --ask-sudo-pass add-vagrant-hostnames-to-etc-hosts.yml`\n\nThis will add the vagrant public key to the root user so you can connect directly as root using the vagrant ssh key, update apt so package installs don't fail because of outdated metadata, and manage */etc/hosts* on the VM's so they can refer to each other by name.\n\nIf you ran the second playbook as well, which is optional, it will also add those same names to your local */etc/hosts*, in the form of *hostname*.vagrant\n\nLicense\n-------\n\nReleased into the public domain, please feel free to use these however you see fit :)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoni%2Fvagrant-ansible-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoni%2Fvagrant-ansible-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoni%2Fvagrant-ansible-example/lists"}