goldyfruit / goldyfruit.ibmcloud_automation / 1.0.4 / module / ic_is_image Manage VPC VSI images on IBM Cloud. | "added in version" 2.9 of goldyfruit.ibmcloud_automation" Authors: Gaëtan Trellu (@goldyfruit) preview | supported by communitygoldyfruit.ibmcloud_automation.ic_is_image (1.0.4) — module
Install with ansible-galaxy collection install goldyfruit.ibmcloud_automation:==1.0.4
collections: - name: goldyfruit.ibmcloud_automation version: 1.0.4
This module creates a new image from an image prototype object. The prototype object is structured in the same way as a retrieved image, and contains the information necessary to create the new image.
A URL to the image file on object storage must be provided.
- name: Create an image based on COS object ic_is_image: image: ibmcloud-image-baby file: cos://us-south/ibmcloud-bucket-baby/CentOS-8.1.1911.x86_64.qcow2 operating_system: centos-7-amd64
- name: Delete an image ic_is_image: image: ibmcloud-image-baby state: absent
file: description: - The file from which to create the image. type: str image: description: - The unique user-defined name for this image. required: true type: str state: choices: - present - absent default: present description: - Should the resource be present or absent. type: str source_volume: description: - The volume from which to create the image. type: str resource_group: description: - The resource group to use. If unspecified, the account's default resource group is used. type: str operating_system: description: - The unique name of the operating system. type: str