{"id":49581011,"url":"https://github.com/blackdesert575/ansible-crashed-lab","last_synced_at":"2026-05-09T10:06:55.627Z","repository":{"id":153103177,"uuid":"622782456","full_name":"blackdesert575/ansible-crashed-lab","owner":"blackdesert575","description":"Try ansible on my homelab!","archived":false,"fork":false,"pushed_at":"2025-10-05T02:46:54.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T04:18:21.055Z","etag":null,"topics":["ansible","bash","docker","docker-compose","exporter","golang","grafana","java","javascript","linux","prometheus","proxmox-ve","python","qemu-kvm","rust"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackdesert575.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-03T03:46:24.000Z","updated_at":"2025-10-05T02:46:57.000Z","dependencies_parsed_at":"2025-01-14T07:29:28.772Z","dependency_job_id":"e8afc6d4-3912-4c65-a933-b259d8b14e33","html_url":"https://github.com/blackdesert575/ansible-crashed-lab","commit_stats":null,"previous_names":["hong539/ansible-crashed-lab","blackdesert575/ansible-crashed-lab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blackdesert575/ansible-crashed-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackdesert575%2Fansible-crashed-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackdesert575%2Fansible-crashed-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackdesert575%2Fansible-crashed-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackdesert575%2Fansible-crashed-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackdesert575","download_url":"https://codeload.github.com/blackdesert575/ansible-crashed-lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackdesert575%2Fansible-crashed-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32582843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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","bash","docker","docker-compose","exporter","golang","grafana","java","javascript","linux","prometheus","proxmox-ve","python","qemu-kvm","rust"],"created_at":"2026-05-03T19:35:38.641Z","updated_at":"2026-05-03T19:35:40.498Z","avatar_url":"https://github.com/blackdesert575.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-qemu-kvm\nPlay ansible-qemu-kvm!\n\n## to do list\n\n* ~~setup lab with 1 Control node(Ubuntu/Debian), 1 Managed node(CentOS)~~\n* For nginx deploy examples\n\n## Prerequisites\n\n* Ubuntu/Debian host\n* Python == 3.10.12\n* pip == 22.0.2\n* [Python dev_setup notes if needed](https://github.com/hong539/setup_dev_environment/blob/main/programming_languages/python/python.md)\n\n## tips/guides...etc\n\n* Ansible\n    * [docs/ansible-core support matrix](https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix)\n    * [Getting started with Execution Environments](https://docs.ansible.com/ansible/latest/getting_started_ee/index.html#getting-started-ee-index)\n    * [github/ansible community EE image](https://github.com/ansible-community/images/tree/main)\n    * [Getting started with Ansible](https://docs.ansible.com/ansible/latest/getting_started/index.html)\n    * [installation-guide](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installation-guide)\n    * [Installing pip/setuptools/wheel with Linux Package Managers](https://packaging.python.org/en/latest/guides/installing-using-linux-tools/#debian-ubuntu-and-derivatives)\n    * [Building an inventory](https://docs.ansible.com/ansible/latest/getting_started/get_started_inventory.html)\n    * [community.general.proxmox module – Management of instances in Proxmox VE cluster](https://docs.ansible.com/ansible/latest/collections/community/general/proxmox_module.html#ansible-collections-community-general-proxmox-module-requirements)\n\n* [Azure Bastion](https://learn.microsoft.com/zh-tw/azure/bastion/bastion-overview)\n* [JumpServer](https://github.com/jumpserver/jumpserver)\n\n## setup\n\n```shell\n#For Debian/Ubuntu\nsudo apt update\nsudo apt install python3-venv python3-pip\n\n#install ansilbe\npython3 -m pip install --user ansible\n\n#add to PATH\nvim ~/.bashrc\nexport PATH=$PATH:/home/hong/.local/bin\nsource ~/.bashrc\n\n#IF install with package mangager apt\n#Command 'ansible' not found, but can be installed with:\nsudo apt install ansible       # version 2.10.7+merged+base+2.10.8+dfsg-1, or\nsudo apt install ansible-core  # version 2.12.0-1ubuntu0.1\n\n#check ansibe\nansible --version\nansible all --list-hosts\n\n#test ansible-inventory\nansible-inventory -i inventory.yaml --list\nansible virtualmachines -m ping -i inventory.yaml\n```\n\n## For nginx deploy examples\n\n* dir strucure\n\n```\nansible_project/\n├── inventory/                 # Inventory 目錄\n│   └── inventory.yml          # Inventory 文件 (YAML 格式)\n├── deploy_nginx.yml           # 主 Playbook 文件\n├── group_vars/                # 組變量目錄\n│   └── all.yml                # 全局變量文件\n├── roles/                     # 角色目錄\n│   ├── nginx/                 # nginx 角色\n│   │   ├── tasks/             # 任務目錄\n│   │   │   ├── main.yml       # 主任務文件\n│   │   ├── files/             # 靜態文件目錄\n│   │   │   ├── game-h5.tar.gz # 靜態網站檔案\n│   │   │   ├── app-h5.tar.gz\n│   │   │   ├── agent-h5.tar.gz\n│   │   ├── templates/         # 模板文件目錄\n│   │   │   ├── nginx_virtual_host.j2 # Nginx 虛擬主機模板\n│   │   ├── vars/              # 變量目錄\n│   │   │   ├── main.yml       # nginx 角色相關變量\n├── logs/                      # 執行日誌目錄\n│   └── ansible.log            # 日誌文件\n├── README.md                  # 專案說明文件\n```\n\n* run with cli\n\n```\nansible-playbook -i inventory/inventory.yml deploy_nginx.yml\n```\n\n## Important!!!\n\n== We're Using GitHub Under Protest ==\n\nThis project is currently hosted on GitHub.  This is not ideal; GitHub is a\nproprietary, trade-secret system that is not Free and Open Souce Software\n(FOSS).  We are deeply concerned about using a proprietary system like GitHub\nto develop our FOSS project.  We have an\n[open {bug ticket, mailing list thread, etc.} ](INSERT_LINK) where the\nproject contributors are actively discussing how we can move away from GitHub\nin the long term.  We urge you to read about the\n[Give up GitHub](https://GiveUpGitHub.org) campaign from\n[the Software Freedom Conservancy](https://sfconservancy.org) to understand\nsome of the reasons why GitHub is not a good place to host FOSS projects.\n\nIf you are a contributor who personally has already quit using GitHub, please\n[check this resource](INSERT_LINK) for how to send us contributions without\nusing GitHub directly.\n\nAny use of this project's code by GitHub Copilot, past or present, is done\nwithout our permission.  We do not consent to GitHub's use of this project's\ncode in Copilot.\n\n![Logo of the GiveUpGitHub campaign](https://sfconservancy.org/img/GiveUpGitHub.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackdesert575%2Fansible-crashed-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackdesert575%2Fansible-crashed-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackdesert575%2Fansible-crashed-lab/lists"}