{"id":17679331,"url":"https://github.com/bbkane/ansible-control","last_synced_at":"2026-02-22T02:04:22.797Z","repository":{"id":87170751,"uuid":"89436863","full_name":"bbkane/ansible-control","owner":"bbkane","description":"VM to use as an Ansible control  box","archived":false,"fork":false,"pushed_at":"2017-06-19T22:16:56.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-12T15:34:42.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/bbkane.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-26T04:12:31.000Z","updated_at":"2017-06-18T06:15:33.000Z","dependencies_parsed_at":"2023-03-13T19:44:50.330Z","dependency_job_id":null,"html_url":"https://github.com/bbkane/ansible-control","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bbkane/ansible-control","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fansible-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fansible-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fansible-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fansible-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbkane","download_url":"https://codeload.github.com/bbkane/ansible-control/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fansible-control/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29703263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"online","status_checked_at":"2026-02-22T02:00:08.193Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-24T08:22:07.537Z","updated_at":"2026-02-22T02:04:22.768Z","avatar_url":"https://github.com/bbkane.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Control\n\nThis is a Vagrant/Virtualbox set of scripts for experimenting with Ansible in a disposable/recreatable environment.\n\n## Install\n\nVagrant is very finicky software, but these versions seem to work for this\nsetup, while newer versions don't. When the newer versions have the bugs ironed\nout, I hope to upgrade these links.\n\n- Install prereqs (Windows 7):\n  - [Virtualbox 5.0.40](https://www.virtualbox.org/wiki/Download_Old_Builds_5_0).\n    It looks like the latest version of Virtualbox is also work (5.1.22)\n  - [Vagrant 1.8.7](https://releases.hashicorp.com/vagrant/1.8.7/)\n\n- Download (or clone this repo).\n\n- `cd \u003cdirectory of this repo\u003e`\n\n- `vagrant up`\n\nThat will build two boxes- `ansible-control` and `target`. `ansible-control`\nhas Ansible installed, this repo on it, and some other light provisioning (see\n[./ansible_control.yaml](ansible_control.yaml) ). `target1` is a blank slate.\nIt will take quite a while to download, import, and provision the boxes, so get\na coffee.\n\nIf you get a VirtualBox error, try it again and then try uninstalling your\nVirtualbox and updating to a newer version. Maybe that will help.\n\n- From Windows, SSH  to `127.0.0.1` port `2222` with username `vagrant` and password `vagrant`\n- From `ansible-control`, ssh to `target1` with username `vagrant` and password\n  `vagrant` to add the key to the `known_hosts` list.\n- type `exit` to exit `target1`\n- type `cd ~/ansible_control` to change directories to where your ansible files are.\n\n## Test\n\n`ansible -i hosts -k -m ping all`\n\n## Use\n\nNow you should be able to start writing playbooks and testing them against `target1` (and `ansible-control` if you want)\n\n## Learn\n\n- [Ansible](http://docs.ansible.com/ansible/index.html)\n- Vim\n  - Vim is a text editor that I use to write playbooks. To go through the\n    tutorial, type `vimtutor` in the console.\n- [Linux](http://linuxcommand.org/learning_the_shell.php) - this is just a link\n  to a tutorial I found online. There are others, and randomly googling is\n  helpful here too. If you need help for a specific command, type `man\n  \u003ccommand\u003e` to pull up the manual. If you don't know the command, type `man -k\n  \u003ckeyword\u003e` to search the man pages. Googling is generally faster though.\n\n## Saving your work outside the VM\n\nVirtualbox and Vagrant offer ways to sync folders, but I haven't been able to\nget any of them to work reliably on Windows. Instead I use a git repo to save my\nwork.\n\n## Shut down\n\nWhen you're done for the day, type `vagrant halt` from Windows to kill the\nVM. Type `vagrant up` to restart it.\n\n## Destroy\n\nIf you screw something up or you want to start over, make sure your work is\nsaved and type `vagrant destroy` to destroy the VM. To create a new one, type\n`vagrant up` again.\n\n## TODO\n- Set up synced folder for ansible projects (probably won't fix)\n- Use SSH keys instead of passwords so I don't have to use `-k`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fansible-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbkane%2Fansible-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fansible-control/lists"}