|
|
|
@ -222,7 +222,7 @@ def create_instances(module, gce, instance_names):
|
|
|
|
|
"""Creates new instances. Attributes other than instance_names are picked
|
|
|
|
|
up from 'module'
|
|
|
|
|
|
|
|
|
|
module : AnsbileModule object
|
|
|
|
|
module : AnsibleModule object
|
|
|
|
|
gce: authenticated GCE libcloud driver
|
|
|
|
|
instance_names: python list of instance names to create
|
|
|
|
|
|
|
|
|
@ -346,7 +346,7 @@ def main():
|
|
|
|
|
metadata = dict(),
|
|
|
|
|
name = dict(),
|
|
|
|
|
network = dict(default='default'),
|
|
|
|
|
persistent_boot_disk = dict(choices=BOOLEANS, default=False),
|
|
|
|
|
persistent_boot_disk = dict(type='bool', choices=BOOLEANS, default=False),
|
|
|
|
|
state = dict(choices=['active', 'present', 'absent', 'deleted'],
|
|
|
|
|
default='present'),
|
|
|
|
|
tags = dict(type='list'),
|
|
|
|
|