{"id":16829994,"url":"https://github.com/nhojpatrick/ansible-example-apache","last_synced_at":"2026-05-20T03:13:42.795Z","repository":{"id":55631824,"uuid":"259902579","full_name":"nhojpatrick/ansible-example-apache","owner":"nhojpatrick","description":"Example Apache Web Server project using Vagrant/VirtualBox to demonstrate how to use Ansible to configure a basic Apache Web Server.","archived":false,"fork":false,"pushed_at":"2020-12-16T18:24:19.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-24T08:22:46.342Z","etag":null,"topics":["ansible","vagrant","virtualbox"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nhojpatrick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2020-04-29T11:08:16.000Z","updated_at":"2020-12-26T20:28:01.000Z","dependencies_parsed_at":"2022-08-15T05:00:33.959Z","dependency_job_id":null,"html_url":"https://github.com/nhojpatrick/ansible-example-apache","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/nhojpatrick%2Fansible-example-apache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhojpatrick%2Fansible-example-apache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhojpatrick%2Fansible-example-apache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhojpatrick%2Fansible-example-apache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nhojpatrick","download_url":"https://codeload.github.com/nhojpatrick/ansible-example-apache/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244117655,"owners_count":20400743,"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":["ansible","vagrant","virtualbox"],"created_at":"2024-10-13T11:36:59.217Z","updated_at":"2026-05-20T03:13:37.725Z","avatar_url":"https://github.com/nhojpatrick.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Example of Apache\n\n## Requirements\n\n  * Vagrant v2.2.7 (may work with any v2.x)\n  * VirtualBox v6.1.6 (may work with any v6.x)\n\n## Tested Combinations\n\nThe following have been tested, other combinations might work;\n\n- Vagrant v2.2.7 + VirtualBox v6.1.6 + CentOS 7\n\n## Quick Start\n\nSimple as, ` vagrant up`, and a new vm will be created, with 3 websites hosted.\n\nYou will need to and the following lines in your host/local hosts file.\n```\n127.0.0.1 alpha.example.tld\n127.0.0.1 bravo.example.tld\n```\n\nThen in your browser visit any of these url's.\n\n  - http://localhost:8181/index.html\n  - http://alpha.example.tld:8181/index.html\n  - http://bravo.example.tld:8181/index.html\n\nThe source for these is under the `www` directory and is copied into the vm when the ansible playbook runs. So live update do not currently work.\n\n## Notes\n\nThe files `setup_*.yaml` are used as a work around to install the latest version of ansible, including git so that ansible galaxy can install from github.\n\nThis setup uses a patch version of the ansible galaxy role 'geerlingguy.apache'. The patch means only tasks that require `become`, instead of running the whole galaxy role with `become`.\n\n  - Patched Version https://github.com/nhojpatrick/geerlingguy_ansible-role-apache/tree/setup-needs-become\n  - Origional Version https://github.com/geerlingguy/ansible-role-apache\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhojpatrick%2Fansible-example-apache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhojpatrick%2Fansible-example-apache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhojpatrick%2Fansible-example-apache/lists"}