{"id":15090209,"url":"https://github.com/isaudkhan/ansible-install-apache-vagrant","last_synced_at":"2026-02-12T13:39:07.468Z","repository":{"id":248277572,"uuid":"828258999","full_name":"isaudkhan/ansible-install-apache-vagrant","owner":"isaudkhan","description":"Install Apache on Vagrant VMs using Ansible","archived":false,"fork":false,"pushed_at":"2024-08-23T15:39:20.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T10:34:40.907Z","etag":null,"topics":["ansible","apache","ubuntu","vagrant"],"latest_commit_sha":null,"homepage":"","language":null,"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/isaudkhan.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-13T15:35:24.000Z","updated_at":"2024-08-23T15:39:23.000Z","dependencies_parsed_at":"2024-08-23T17:22:05.993Z","dependency_job_id":"b6b6c371-fab9-48c9-b95a-000cda8e02fb","html_url":"https://github.com/isaudkhan/ansible-install-apache-vagrant","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"83e2650bb8ab39dd992c990da91375afa2eb0e66"},"previous_names":["isaudkhan/ansible-install-apache","isaudkhan/ansible-install-apache-vagrant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/isaudkhan/ansible-install-apache-vagrant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaudkhan%2Fansible-install-apache-vagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaudkhan%2Fansible-install-apache-vagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaudkhan%2Fansible-install-apache-vagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaudkhan%2Fansible-install-apache-vagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isaudkhan","download_url":"https://codeload.github.com/isaudkhan/ansible-install-apache-vagrant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaudkhan%2Fansible-install-apache-vagrant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29367405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ansible","apache","ubuntu","vagrant"],"created_at":"2024-09-25T09:23:25.598Z","updated_at":"2026-02-12T13:39:07.441Z","avatar_url":"https://github.com/isaudkhan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Project 1\nInstall Apache Web Server on two Vagrant VMs using Ansible\n\n### Steps:\n1. Setup Ansible Controller Machine\n    - Create Directory: mkdir ansible-controller\n    - Initialize Vagrant VM: vagrant init\n    - Update Vagrant file to set up ansible-controller VM: vi vagrantfile\n    - Start VM: vagrant up\n    - SSH VM: vagrant ssh\n    - Check ansible version: ansible --version\n\n2. Setup SSH on Controller Machine\n    - Generate ssh keys on ansible-controller: ssh-keygen\n    - Copy public ssh key to shared folder \u003cbr\u003e\n``\ncp /home/vagrant/.ssh/id_rsa.pub /vagrant\n``\n    - Copy public ssh key to host folder \u003cbr\u003e\n``\ncopy id_rsa.pub /ansible-hosts\n``\n\n3. Setup Ansible Host Machines\n    - Create dir: mkdir ansible-hosts\n    - Initialize Vagrant VMs: vagrant init\n    - Update Vagrant file to set up two VMs for ansible-hosts\n    - Start VMs: vagrant up\n\n4. Test SSH connection between Controller and Host Machines \u003cbr\u003e\n``\nansible -i hosts.vag all -m ping\n``\n\n5. Create Hosts and Playbook file on Controller Machine \u003cbr\u003e\n```\nvi hosts.vag\nvi ansible-install-apache-vagrant.yml\n```\n6. Run playbook on ansible-controller\n    - SSH to ansible-controller machine: vagrant ssh \u003cbr\u003e\n    - Run playbook file ( -l : for specific host ) \u003cbr\u003e\n```\nansible-playbook -i hosts playbook.yml\nansible-playbook -i hosts -l web playbook.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaudkhan%2Fansible-install-apache-vagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisaudkhan%2Fansible-install-apache-vagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaudkhan%2Fansible-install-apache-vagrant/lists"}