|
|
@ -33,57 +33,48 @@ options:
|
|
|
|
- the name of the image to create or delete
|
|
|
|
- the name of the image to create or delete
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- an optional description
|
|
|
|
- an optional description
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
source:
|
|
|
|
source:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- the source disk or the Google Cloud Storage URI to create the image from
|
|
|
|
- the source disk or the Google Cloud Storage URI to create the image from
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- desired state of the image
|
|
|
|
- desired state of the image
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: "present"
|
|
|
|
default: "present"
|
|
|
|
choices: ["present", "absent"]
|
|
|
|
choices: ["present", "absent"]
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
zone:
|
|
|
|
zone:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- the zone of the disk specified by source
|
|
|
|
- the zone of the disk specified by source
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: "us-central1-a"
|
|
|
|
default: "us-central1-a"
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
timeout:
|
|
|
|
timeout:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- timeout for the operation
|
|
|
|
- timeout for the operation
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: 180
|
|
|
|
default: 180
|
|
|
|
aliases: []
|
|
|
|
version_added: "2.0"
|
|
|
|
service_account_email:
|
|
|
|
service_account_email:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- service account email
|
|
|
|
- service account email
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
pem_file:
|
|
|
|
pem_file:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- path to the pem file associated with the service account email
|
|
|
|
- path to the pem file associated with the service account email
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
project_id:
|
|
|
|
project_id:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- your GCE project ID
|
|
|
|
- your GCE project ID
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements:
|
|
|
|
requirements:
|
|
|
|
- "python >= 2.6"
|
|
|
|
- "python >= 2.6"
|
|
|
|
- "apache-libcloud"
|
|
|
|
- "apache-libcloud"
|
|
|
|