{"id":27243473,"url":"https://github.com/dalee/ansible.bootstrap","last_synced_at":"2025-07-19T04:33:12.191Z","repository":{"id":67449952,"uuid":"63699628","full_name":"Dalee/ansible.bootstrap","owner":"Dalee","description":"Bootstrap Vagrant machine the first and must role","archived":false,"fork":false,"pushed_at":"2017-12-04T10:20:16.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T20:50:47.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/Dalee.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,"zenodo":null}},"created_at":"2016-07-19T14:13:31.000Z","updated_at":"2016-10-28T12:18:07.000Z","dependencies_parsed_at":"2023-02-25T09:15:29.797Z","dependency_job_id":null,"html_url":"https://github.com/Dalee/ansible.bootstrap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dalee/ansible.bootstrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fansible.bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fansible.bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fansible.bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fansible.bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dalee","download_url":"https://codeload.github.com/Dalee/ansible.bootstrap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fansible.bootstrap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265888904,"owners_count":23844529,"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":"2025-04-10T20:36:59.221Z","updated_at":"2025-07-19T04:33:12.183Z","avatar_url":"https://github.com/Dalee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vagrant box bootstrapping\n\nBase role for [Dalee/ubuntu](https://atlas.hashicorp.com/Dalee/boxes/ubuntu) Vagrant box.\n\nRole will uninstall some crap (like command-not-found) and\ninstall some mandatory software and some useful commands:\n\n * `pavlik-enable` [Comrade Pavlik](https://github.com/Dalee/comrade-pavlik) helper script\n * `docker-cleanup` Docker images/containers cleanup script\n * `avahi` daemon to advertise hostname\n * `avahi-cname-aliases` [script](https://github.com/Dalee/avahi-cname-aliases) to advertise cname aliases for host via avahi \n * `nginx` daemon\n * `~/.environment.rc` — loader for role-based environment variables\n (make sure to add this file to `.bash_profile`)\n\n## Mandatory parameters\n\nVagrantfile and ansible provision script should define two variables:\n * `project_root` - vagrant path, usually `/home/web/project`\n * `project_name` - hostname, will be used for `\u003cproject_name\u003e.local` domain\n\nVagrantfile example:\n```\nconfig.vm.provision \"shell\", path: \"build/ansible.sh\",\n    env: {\n        \"PROJECT_ROOT\": \"/home/web/project\",\n        \"PROJECT_NAME\": \"sample-project\",\n    }\n```\n`ansible.sh` example:\n```\n/usr/bin/ansible-playbook \\\n\t-e \"project_root\"=${PROJECT_ROOT} \\\n\t-e \"project_name\"=${PROJECT_NAME} \\\n\t-i \"${PROJECT_ROOT}/build/inventory.ini\" \\\n\t\"${PROJECT_ROOT}/build/vagrant.yml\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalee%2Fansible.bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalee%2Fansible.bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalee%2Fansible.bootstrap/lists"}