{"id":18690458,"url":"https://github.com/kvaps/opennebula-ansible-modules","last_synced_at":"2026-06-19T01:31:54.493Z","repository":{"id":80916093,"uuid":"196284490","full_name":"kvaps/opennebula-ansible-modules","owner":"kvaps","description":"Ansible modules for OpenNebula configuration","archived":false,"fork":false,"pushed_at":"2021-04-14T11:53:17.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-05T07:57:42.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kvaps.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":"2019-07-10T22:47:26.000Z","updated_at":"2025-01-28T08:05:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"8389a20e-a880-4ae8-b4f9-2fb68a07c1bd","html_url":"https://github.com/kvaps/opennebula-ansible-modules","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kvaps/opennebula-ansible-modules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvaps%2Fopennebula-ansible-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvaps%2Fopennebula-ansible-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvaps%2Fopennebula-ansible-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvaps%2Fopennebula-ansible-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kvaps","download_url":"https://codeload.github.com/kvaps/opennebula-ansible-modules/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvaps%2Fopennebula-ansible-modules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34514282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"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":[],"created_at":"2024-11-07T10:47:38.389Z","updated_at":"2026-06-19T01:31:54.460Z","avatar_url":"https://github.com/kvaps.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenNebula Ansible Modules\n\n## Description\n\nAnsible modules for OpenNebula\n\n## Roadmap\n\nThe following list represent's all of OpenNebula's resources reachable through their API. The checked items are the ones that are fully functional and tested:\n\n* [ ] [oneacct](http://docs.opennebula.org/doc/stable/cli/oneacct.1.html)\n* [X] [oneacl](http://docs.opennebula.org/doc/stable/cli/oneacl.1.html)\n* [X] [onecluster](http://docs.opennebula.org/doc/stable/cli/onecluster.1.html)\n* [X] [onedatastore](http://docs.opennebula.org/doc/stable/cli/onedatastore.1.html)\n* [X] [onegroup](http://docs.opennebula.org/doc/stable/cli/onegroup.1.html)\n* [X] [onehook](http://docs.opennebula.org/doc/stable/cli/onehook.1.html)\n* [X] [onehost](http://docs.opennebula.org/doc/stable/cli/onehost.1.html)\n* [X] [oneimage](http://docs.opennebula.org/doc/stable/cli/oneimage.1.html)\n* [X] [onetemplate](http://docs.opennebula.org/doc/stable/cli/onetemplate.1.html)\n* [ ] [oneuser](http://docs.opennebula.org/doc/stable/cli/oneuser.1.html)\n* [ ] [onevdc](http://docs.opennebula.org/doc/stable/cli/onevdc.1.html)\n* [ ] [onevm](http://docs.opennebula.org/doc/stable/cli/onevm.1.html)\n* [X] [onevnet](http://docs.opennebula.org/doc/stable/cli/onevnet.1.html)\n* [ ] [onezone](http://docs.opennebula.org/doc/stable/cli/onezone.1.html)\n* [ ] [onesecgroup](http://docs.opennebula.org/doc/stable/cli/onesecgroup.1.html)\n* [ ] [onevcenter](http://docs.opennebula.org/doc/stable/cli/onevcenter.1.html)\n* [ ] [onevrouter](http://docs.opennebula.org/doc/stable/cli/onevrouter.1.html)\n* [ ] [oneshowback](http://docs.opennebula.org/doc/stable/cli/oneshowback.1.html)\n* [X] [onemarket](http://docs.opennebula.org/doc/stable/cli/onemarket.1.html)\n* [ ] [onemarketapp](http://docs.opennebula.org/doc/stable/cli/onemarketapp.1.html)\n\n\n## Compatibility\n\nThis add-on is compatible with OpenNebula 5.6+ (older version can work but not have properly tested)\n\n## Requipments\n\nThere is no actially any requipments.\n\n## Installation\n\nClone this repository into your modules library:\n\n```\ngit clone https://github.com/kvaps/opennebula-ansible-modules library/opennebula\n```\n\nUpdate path in your ansible.cfg file:\n\n```ini\n[defaults]\nlibrary = library\n```\n\n## Example Usage\n\n```yaml\ntasks:\n\n- onecluster:\n    name: \"cluster1\"\n    template: \"RESERVED_CPU=0 RESERVED_CPU=0\"\n\n- onedatastore:\n    name: \"images\"\n    chmod: \"600\"\n    user: \"oneadmin\"\n    group: \"oneadmin\"\n    clusters: \"default cluster1\"\n    template: |\n      ALLOW_ORPHANS=\"NO\"\n      CLONE_TARGET=\"SYSTEM\"\n      DRIVER=\"raw\"\n      DS_MAD=\"fs\"\n      DS_MIGRATE=\"YES\"\n      LN_TARGET=\"SYSTEM\"\n      RESTRICTED_DIRS=\"/\"\n      SAFE_DIRS=\"/var/tmp\"\n      TM_MAD=\"fs_lvm\"\n      TYPE=\"IMAGE_DS\"\n      BRIDGE_LIST=\"{{ lookup(\"pipe\",\"echo node{1..50}\") }}\"\n\n- onehost:\n    name: \"{{ item }}\"\n    template: \"RESERVED_CPU=100 RESERVED_MEM=2922448\"\n    im_mad: \"kvm\"\n    vmm_mad: \"kvm\"\n    cluster: \"cluster1\"\n  loop: \"{{ lookup(\"pipe\",\"echo node{1..50}\") }}\"\n\n- oneimage:\n    name: \"Debian 10\"\n    chmod: \"644\"\n    user: \"oneadmin\"\n    group: \"oneadmin\"\n    path: \"https://marketplace.opennebula.wedos.cloud/images/debian-10.qcow2\"\n    type: \"OS\"\n    datastore: \"files\"\n    template: \"DEV_PREFIX=vd FORMAT=raw LABELS=OS\"\n\n- onetemplate:\n    name: \"Debian 10\"\n    template: \"{{ lookup('template', 'templates/cloud.j2') }}\"\n    chmod: \"600\"\n    user: \"oneadmin\"\n    group: \"oneadmin\"\n  vars:\n    name: \"Debian 10\"\n    image: \"Debian 10\"\n    logo: \"images/logos/debian.png\"\n\n- onevnet:\n    name: dev-ip\n    template: |\n      BRIDGE=\"vmbr0v4000\"\n      DNS=\"10.28.0.1\"\n      PHYDEV=\"bond0\"\n      SECURITY_GROUPS=\"0\"\n      VLAN_ID=\"4000\"\n      VN_MAD=\"802.1Q\"\n    clusters: \"default cluster1\"\n    chmod: \"604\"\n    user: \"oneadmin\"\n    group: \"oneadmin\"\n  \n- onevnetar:\n    ar_uniq_key: \"IP\"\n    template: \"{{ ar_template }}\"\n  loop_control:\n    loop_var: ar_template\n  loop:\n      - |\n          AR=[\n            GATEWAY=\"172.16.0.1\",\n            IP=\"172.16.0.5\",\n            SIZE=\"250\",\n            TYPE=\"IP4\" ]\n      - |\n          AR=[\n            GATEWAY=\"172.17.0.1\",\n            IP=\"172.17.0.5\",\n            SIZE=\"250\",\n            TYPE=\"IP4\" ]\n\n```\n\n## Development\n\nTo contribute bug patches or new features, you can use the github Pull Request model. It is assumed that code and documentation are contributed under the Apache License 2.0. \n\nMore info:\n* [How to Contribute](http://opennebula.org/addons/contribute/)\n* Support: [OpenNebula user forum](https://forum.opennebula.org/c/support)\n* Development: [OpenNebula developers forum](https://forum.opennebula.org/c/development)\n* Issues Tracking: Github issues\n\n## Author\n\n* Author: [kvaps](http://github.com/kvaps)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvaps%2Fopennebula-ansible-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvaps%2Fopennebula-ansible-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvaps%2Fopennebula-ansible-modules/lists"}