{"id":15774856,"url":"https://github.com/jtyr/ansible-vmware_image_upload","last_synced_at":"2025-05-07T00:46:08.496Z","repository":{"id":69603814,"uuid":"210315718","full_name":"jtyr/ansible-vmware_image_upload","owner":"jtyr","description":"Ansible role to upload VM image to a vCenter server.","archived":false,"fork":false,"pushed_at":"2020-01-16T14:56:12.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-06T19:53:42.153Z","etag":null,"topics":["ansible","ansible-role","template","vm","vmware","vmware-esxi","vmware-vsphere"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jtyr.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-09-23T09:28:52.000Z","updated_at":"2024-03-17T21:35:05.000Z","dependencies_parsed_at":"2023-03-28T00:04:57.751Z","dependency_job_id":null,"html_url":"https://github.com/jtyr/ansible-vmware_image_upload","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtyr%2Fansible-vmware_image_upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtyr%2Fansible-vmware_image_upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtyr%2Fansible-vmware_image_upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtyr%2Fansible-vmware_image_upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtyr","download_url":"https://codeload.github.com/jtyr/ansible-vmware_image_upload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793564,"owners_count":21805054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-role","template","vm","vmware","vmware-esxi","vmware-vsphere"],"created_at":"2024-10-04T16:41:04.872Z","updated_at":"2025-05-07T00:46:08.331Z","avatar_url":"https://github.com/jtyr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"vmware_image_upload\n===================\n\nAnsible role which helps to upload VM image to VMware vCenter.\n\nThe configuration of the role is done in such way that it should not be\nnecessary to change the role for any kind of configuration. All can be\ndone either by changing role parameters or by declaring completely new\nconfiguration as a variable. That makes this role absolutely\nuniversal. See the examples below for more details.\n\nPlease report any issues or send PR.\n\n\nExamples\n--------\n\n```yaml\n---\n\n- name: Example of how to upload VM image to vCenter\n  hosts: vcenter-servers\n  gather_facts: no\n  vars:\n    vmware_image_upload_username: mydomain\\\\myuser\n    vmware_image_upload_password: MyT0pS3cr3tP4Sw0rd!\n    vmware_image_upload_datacenter: MYDC1\n    vmware_image_upload_cluster: mycluster\n    vmware_image_upload_datastore: datastore1\n    vmware_image_upload_network: mynet\n    vmware_image_upload_folder: /{{ vmware_image_upload_datacenter }}/vm/Templates\n    vmware_image_upload_name: Golden-VMware-CentOS-7-1567778833\n    vmware_image_upload_ovf: /path/to/the/{{ vmware_image_upload_name }}.ovf\n  roles:\n    - role: vmware_image_upload\n      tags: vmware_image_upload\n```\n\n\nRole variables\n--------------\n\n```yaml\n# vCenter hostname\nvmware_image_upload_hostname: \"{{ ansible_host }}\"\n\n# vCenter port number\nvmware_image_upload_port: 443\n\n# Whether to validate SSL certificates\nvmware_image_upload_validate_certs: no\n\n# Reguired variables which must be specified by the user\nvmware_image_upload_username: null\nvmware_image_upload_password: null\nvmware_image_upload_name: null\nvmware_image_upload_datacenter: null\nvmware_image_upload_cluster: null\nvmware_image_upload_datastore: null\nvmware_image_upload_folder: null\nvmware_image_upload_network: null\nvmware_image_upload_networks: \"{u'VM Network':u'{{ vmware_image_upload_network }}'}\"\nvmware_image_upload_ovf: null\n\n# Set to 'absent' to delete the uploaded image\n#vmware_image_upload_state: null\n\n# Whether to remove the NIC before turning VM into template\nvmware_image_upload_remove_nic: yes\n```\n\n\nLicense\n-------\n\nMIT\n\n\nAuthor\n------\n\nJiri Tyr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtyr%2Fansible-vmware_image_upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtyr%2Fansible-vmware_image_upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtyr%2Fansible-vmware_image_upload/lists"}