mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-09 22:51:05 -07:00
address a few review comments
This commit is contained in:
parent
cfc249931a
commit
81b5c93c78
2 changed files with 3 additions and 3 deletions
|
@ -222,7 +222,7 @@ def create_instances(module, gce, instance_names):
|
||||||
"""Creates new instances. Attributes other than instance_names are picked
|
"""Creates new instances. Attributes other than instance_names are picked
|
||||||
up from 'module'
|
up from 'module'
|
||||||
|
|
||||||
module : AnsbileModule object
|
module : AnsibleModule object
|
||||||
gce: authenticated GCE libcloud driver
|
gce: authenticated GCE libcloud driver
|
||||||
instance_names: python list of instance names to create
|
instance_names: python list of instance names to create
|
||||||
|
|
||||||
|
@ -346,7 +346,7 @@ def main():
|
||||||
metadata = dict(),
|
metadata = dict(),
|
||||||
name = dict(),
|
name = dict(),
|
||||||
network = dict(default='default'),
|
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'],
|
state = dict(choices=['active', 'present', 'absent', 'deleted'],
|
||||||
default='present'),
|
default='present'),
|
||||||
tags = dict(type='list'),
|
tags = dict(type='list'),
|
||||||
|
|
|
@ -21,7 +21,7 @@ DOCUMENTATION = '''
|
||||||
module: gce_lb
|
module: gce_lb
|
||||||
short_description: create/destroy GCE load-balancer resources
|
short_description: create/destroy GCE load-balancer resources
|
||||||
description:
|
description:
|
||||||
- This module can create and destroy Google Compue Engine C(loadbalancer)
|
- This module can create and destroy Google Compute Engine C(loadbalancer)
|
||||||
and C(httphealthcheck) resources. The primary LB resource is the
|
and C(httphealthcheck) resources. The primary LB resource is the
|
||||||
C(load_balancer) resource and the health check parameters are all
|
C(load_balancer) resource and the health check parameters are all
|
||||||
prefixed with I(httphealthcheck).
|
prefixed with I(httphealthcheck).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue