{"id":25810417,"url":"https://github.com/daniel1302/ansible-role-kvm","last_synced_at":"2026-02-05T20:05:28.841Z","repository":{"id":88467724,"uuid":"229150012","full_name":"daniel1302/ansible-role-kvm","owner":"daniel1302","description":null,"archived":false,"fork":false,"pushed_at":"2019-12-24T12:49:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T09:54:38.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/daniel1302.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":"2019-12-19T22:40:47.000Z","updated_at":"2019-12-24T12:49:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"126bc501-4148-463c-a0b2-19434e52f1ba","html_url":"https://github.com/daniel1302/ansible-role-kvm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daniel1302/ansible-role-kvm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel1302%2Fansible-role-kvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel1302%2Fansible-role-kvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel1302%2Fansible-role-kvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel1302%2Fansible-role-kvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniel1302","download_url":"https://codeload.github.com/daniel1302/ansible-role-kvm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel1302%2Fansible-role-kvm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29132565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T19:36:52.185Z","status":"ssl_error","status_checked_at":"2026-02-05T19:35:40.941Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-02-27T23:49:10.444Z","updated_at":"2026-02-05T20:05:28.835Z","avatar_url":"https://github.com/daniel1302.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nHigh level frameworks provides option to implement KVM infrastructure\n\n## Example of usage: \n\n```\n  vars:\n    networks:\n      - name: routed229\n        type: routed\n        source_dev: br0\n        br_name: virbr229\n        cidr: 192.168.229.0/24\n        dhcp_cidr: 192.168.229.128/25\n      - name: nat222\n        type: nat\n        br_name: nat222\n        cidr: 192.168.222.0/24\n        dhcp_cidr: 192.168.222.128/25\n      - name: hostbr211\n        type: bridge\n        source_dev: br0\n\n    pools:\n      - name: hostpool\n        type: dir\n        capacity: 100000000000\n        path: /mapper/red01/kvmhostpool\n\n      - name: hostpool1\n        type: dir\n        path: /mapper/red01/kvmhostpool\n    \n    vms:\n      - name: jenkins\n        vcpus: 1\n        ram: 1024\n        serial: true\n        userdata: path_to_usedata.sh\n        disks: \n          - base: path_to_base_disk.iso\n            pool: some-pool\n            size: 25\n        cdroms:\n          - path_to_iso.iso\n        networks:\n          - name: network_1\n            ip: 255.200.100.0\n            mac: 52:54:00:00:00:01\n          - name: network_2\n          - name: network_3\n            mac: 52:54:00:00:00:02\n\n  roles:\n    - kvm\n```\n\n### Pools\n\n- [Pools](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-managing_guest_virtual_machines_with_virsh-storage_pool_commands)\n\n```\npools:\n  - name: Name of the dir pool\n    type: dir\n    capacity: Pool capacity in bytes\n    path: Pool path\n\n```\n\n### Networks\n\nArticles: \n\n- [Routed network](https://fabianlee.org/2019/06/05/kvm-creating-a-guest-vm-on-a-network-in-routed-mode/)\n- [NAT network](https://fabianlee.org/2019/05/26/kvm-creating-a-guest-vm-on-a-nat-network/)\n\n\n\n```\nnetworks:\n  - name: Network Name\n    type: nat\n    source_dev: Physical network, NAT is connected to\n    br_name: Virtual bridge name\n    cidr: Network CIDR\n    dhcp_cidr: DHCP CIDR\n\n  - name: Network Name\n    type: routed\n    source_dev: Physical network, used to route trafic\n    br_name: Virtual bridge name\n    cidr: Network CIDR\n    dhcp_cidr: DHCP CIDR\n\n  - name: Host Bridge name\n    type: bridge\n    source_dev: Physical network name\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel1302%2Fansible-role-kvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel1302%2Fansible-role-kvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel1302%2Fansible-role-kvm/lists"}