Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes for GCP (as of 2019-04-04T06:05:46+00:00) #54888

Merged
merged 1 commit into from
Apr 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,9 @@
description:
- Indicates whether the backend service will be used with internal or external
load balancing. A backend service created for one type of load balancing cannot
be used with the other.
be used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
required: false
default: EXTERNAL
version_added: 2.7
choices:
- INTERNAL
Expand Down Expand Up @@ -578,7 +579,7 @@
description:
- Indicates whether the backend service will be used with internal or external load
balancing. A backend service created for one type of load balancing cannot be
used with the other.
used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
returned: success
type: str
name:
Expand Down Expand Up @@ -687,7 +688,7 @@ def main():
type='dict',
options=dict(enabled=dict(type='bool'), oauth2_client_id=dict(required=True, type='str'), oauth2_client_secret=dict(required=True, type='str')),
),
load_balancing_scheme=dict(type='str', choices=['INTERNAL', 'EXTERNAL']),
load_balancing_scheme=dict(default='EXTERNAL', type='str', choices=['INTERNAL', 'EXTERNAL']),
name=dict(required=True, type='str'),
port_name=dict(type='str'),
protocol=dict(type='str', choices=['HTTP', 'HTTPS', 'TCP', 'SSL']),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
description:
- Indicates whether the backend service will be used with internal or external
load balancing. A backend service created for one type of load balancing cannot
be used with the other.
be used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
returned: success
type: str
name:
Expand Down
10 changes: 4 additions & 6 deletions lib/ansible/modules/cloud/google/gcp_compute_global_address.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
description:
description:
- An optional description of this resource.
- Provide this property when you create the resource.
required: false
name:
description:
Expand All @@ -69,8 +68,8 @@
required: true
ip_version:
description:
- The IP Version that will be used by this address. Valid options are IPV4 or
IPV6. The default value is IPV4.
- The IP Version that will be used by this address. Valid options are `IPV4` or
`IPV6`. The default value is `IPV4`.
required: false
choices:
- IPV4
Expand Down Expand Up @@ -116,7 +115,6 @@
description:
description:
- An optional description of this resource.
- Provide this property when you create the resource.
returned: success
type: str
id:
Expand All @@ -136,8 +134,8 @@
type: str
ipVersion:
description:
- The IP Version that will be used by this address. Valid options are IPV4 or IPV6.
The default value is IPV4.
- The IP Version that will be used by this address. Valid options are `IPV4` or
`IPV6`. The default value is `IPV4`.
returned: success
type: str
region:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
description:
description:
- An optional description of this resource.
- Provide this property when you create the resource.
returned: success
type: str
id:
Expand All @@ -99,8 +98,8 @@
type: str
ipVersion:
description:
- The IP Version that will be used by this address. Valid options are IPV4 or
IPV6. The default value is IPV4.
- The IP Version that will be used by this address. Valid options are `IPV4`
or `IPV6`. The default value is `IPV4`.
returned: success
type: str
region:
Expand Down