{"id":22792285,"url":"https://github.com/jaskaranbir/packer_coreos-ansible-python","last_synced_at":"2026-04-28T08:34:46.198Z","repository":{"id":97983856,"uuid":"135771964","full_name":"Jaskaranbir/packer_coreos-ansible-python","owner":"Jaskaranbir","description":"Packer Core-OS image with baked-in Python, Ansible, and Docker-Compose.","archived":false,"fork":false,"pushed_at":"2018-07-26T09:55:19.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T17:16:23.091Z","etag":null,"topics":["coreos","packer","packer-template","packer-vagrant","vagrant"],"latest_commit_sha":null,"homepage":"","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/Jaskaranbir.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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":"2018-06-01T23:30:08.000Z","updated_at":"2023-03-05T08:36:09.000Z","dependencies_parsed_at":"2023-06-01T10:00:33.835Z","dependency_job_id":null,"html_url":"https://github.com/Jaskaranbir/packer_coreos-ansible-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jaskaranbir/packer_coreos-ansible-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaskaranbir%2Fpacker_coreos-ansible-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaskaranbir%2Fpacker_coreos-ansible-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaskaranbir%2Fpacker_coreos-ansible-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaskaranbir%2Fpacker_coreos-ansible-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaskaranbir","download_url":"https://codeload.github.com/Jaskaranbir/packer_coreos-ansible-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaskaranbir%2Fpacker_coreos-ansible-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32373507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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":["coreos","packer","packer-template","packer-vagrant","vagrant"],"created_at":"2024-12-12T03:10:24.850Z","updated_at":"2026-04-28T08:34:44.320Z","avatar_url":"https://github.com/Jaskaranbir.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Core-OS with Python, Ansible, and Docker-Compose\n\nThis is the packer configuration for building Core-OS image with pre-setup Python, Ansible, and Docker-Compose.\n\n**Currently based on version 1745.5.0.**\n\n**Vagrant-Cloud Link**: https://app.vagrantup.com/jaskaranbir/boxes/coreos-ansible\n\n### About\n\nThis configuration targets **Vagrant-VirtualBox** only (at the moment).\nSo it generates a Vagrant box.\nHowever, other targets such as VMWare can be easily added.\n\nThis is the latest stable release (as per commit-date) for the Core-OS.\nIt uses [ActivePython][1] for Python, and installs Ansible using PIP.\n\nBy deafult, Ignition is only used to insert the Vagrant insecure key.\nSince ignition is already used, **do not use Ignition again to orchestrate the OS**.\nThis might cause problems (suchas failure to boot). Instead, use Ansible.\n\n### Why\n\nThis is intended to orchestrate the local environment for Vagrant-VirtualBox.\n\nIncluding Ansible within the Box will allow developers to directly use Vagrant's\nAnsible provisioning without having to actually install Ansible on their local.\nHence, the complete setup can be automated.\n\n### Running the Box using Vagrant\n\nThe Vagrantfile provided at the root of repo can be used as a base Vagrantfile (its further based on [Core-OS Vagrant][2]'s Vagrantfile).\n\nWhen running `vagrant up`, you might see some SSH failure messages such as:\n\n`core-01: Warning: Connection reset. Retrying...`\n\nThis is normal. Core-OS takes a little while to boot, so Vagrant will just\nhave to keep retrying to SSH until th VM is booted and SSH is ready to go.\nFeel free to take a look at GUI in VirtualBox to see what's happening\n(also helps in debugging).\n\n### Building the image\n\n#### Using Makefile\n\n* Run `make build` to build the image. This also enables debugging options by default.\nThis will also generate a log file with the Packer output.\n\n* Run `make build-d` to build without debugging options.\n\n* Check out Makefile for all targets\n\n#### Without using Makefile\n\nThe usual Packer command: `packer build coreos.json`\n\n### Testing the Box\n\nA basic \"test-suite\" (is it even enough to be called a *Test-Suite*?) bash script\ncan be found in \"tests\" directory. The simple script simply checks if all\nbinaries: Python, Ansible, Docker-Compose are accessible by the system.\n\nThe tests are automatically run after evey Packer build, and the Packer build\nwon't succeed unless are tests are passed.\n\n#### Running the test:\n\nUsing make: `make test`.\n\nManual Testing: Just execute `tests/basic_test_suite.sh`.\n\n### FAQs\n\n* **Do you intend to suport any other options such as VMWare?**\n\nNo, no such plans yet. As I said earlier, it should be easy to extend this configuration\nto other hypervisors. I like free stuff; VirtualBox is free, and simple.\n\n* **Why not use Vagrantfile to setup all this?**\n\nA pre-packaged box such as this ensures consistency and makes environment less error-prone.\nAdditionally, this is usually the base setup for my Vagrant these days.\n\n [1]: https://www.activestate.com/activepython\n [2]: https://github.com/coreos/coreos-vagrant\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaskaranbir%2Fpacker_coreos-ansible-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaskaranbir%2Fpacker_coreos-ansible-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaskaranbir%2Fpacker_coreos-ansible-python/lists"}