New in version 1.9.
an optional description
(added in 2.2)
an optional family name
the name of the image to create or delete
path to the pem file associated with the service account email
your GCE project ID
service account email
the source disk or the Google Cloud Storage URI to create the image from
desired state of the image
(added in 2.0)
timeout for the operation
the zone of the disk specified by source
# Create an image named test-image from the disk 'test-disk' in zone us-central1-a. - gce_img: name: test-image source: test-disk zone: us-central1-a state: present # Create an image named test-image from a tarball in Google Cloud Storage. - gce_img: name: test-image source: https://storage.googleapis.com/bucket/path/to/image.tgz # Alternatively use the gs scheme - gce_img: name: test-image source: gs://bucket/path/to/image.tgz # Delete an image named test-image. - gce_img: name: test-image state: absent
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support