{"id":18305362,"url":"https://github.com/mrcfps/deploy-my-first-project","last_synced_at":"2026-05-09T04:32:06.193Z","repository":{"id":85482102,"uuid":"131985172","full_name":"mrcfps/deploy-my-first-project","owner":"mrcfps","description":"《一行命令操纵“千军万马”：Ansible 自动化部署入门》源代码仓库","archived":false,"fork":false,"pushed_at":"2018-05-03T11:26:53.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-11T08:51:18.265Z","etag":null,"topics":["ansible","ansible-playbook","deployment","vagrant"],"latest_commit_sha":null,"homepage":"https://www.jianshu.com/p/560d3b32ee84","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/mrcfps.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":"2018-05-03T11:26:26.000Z","updated_at":"2019-06-24T07:37:47.000Z","dependencies_parsed_at":"2023-03-02T16:45:17.116Z","dependency_job_id":null,"html_url":"https://github.com/mrcfps/deploy-my-first-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrcfps/deploy-my-first-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcfps%2Fdeploy-my-first-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcfps%2Fdeploy-my-first-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcfps%2Fdeploy-my-first-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcfps%2Fdeploy-my-first-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrcfps","download_url":"https://codeload.github.com/mrcfps/deploy-my-first-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcfps%2Fdeploy-my-first-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["ansible","ansible-playbook","deployment","vagrant"],"created_at":"2024-11-05T15:34:07.738Z","updated_at":"2026-05-09T04:32:06.176Z","avatar_url":"https://github.com/mrcfps.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy My First Project\n\n此仓库是我所写文章[一行命令操纵“千军万马”：Ansible 自动化部署入门](https://www.jianshu.com/p/560d3b32ee84)的代码仓库。其中 single 目录内是单主机部署， multiple 内是多主机部署。\n\n## 单主机部署\n\n进入 single 目录，启动虚拟机：\n\n```bash\n$ cd single\n$ vagrant up\n```\n\n部署 index.html：\n\n```bash\n$ ansible-playbook deploy.yml\n```\n\n如果实验结束，删除虚拟机：\n\n```bash\n$ vagrant destroy\n```\n\n## 多主机部署\n\n进入 multiple 目录，启动虚拟机:\n\n```bash\n$ cd multiple\n$ vagrant up\n```\n\n部署 index.html：\n\n```bash\n$ ansible-playbook deploy.yml\n```\n\n如果实验结束，删除虚拟机：\n\n```bash\n$ vagrant destroy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcfps%2Fdeploy-my-first-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrcfps%2Fdeploy-my-first-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcfps%2Fdeploy-my-first-project/lists"}