scale_computing.hypercore.url2template role – Download VM image from URL and create a template VM
Note
This role is part of the scale_computing.hypercore collection (version 1.6.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install scale_computing.hypercore
.
To use it in a playbook, specify: scale_computing.hypercore.url2template
.
Entry point main
– Download VM image from URL and create a template VM
Synopsis
Role url2template can be use to download VM image from URL and create a template VM. Role first downloads image from URL, then it created a VirtualDisk from it. Next a template VM is created using the VirtualDisk.
Parameters
Parameter |
Comments |
---|---|
The URL with disk image. |
|
The machine_type for the template VM. For allowed values see machine_type in scale_computing.hypercore.vm. |
|
The operating system for the template VM. For allowed values see operating_system in scale_computing.hypercore.vm. |
|
The name for the template VM. |