rename facts modules to info modules (#298)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-08-06 15:49:18 -07:00 committed by Alex Stephen
parent 242834ff72
commit effb6cdadd
175 changed files with 725 additions and 409 deletions

View file

@ -0,0 +1 @@
gcp_appengine_firewall_rule_info.py

View file

@ -0,0 +1 @@
gcp_bigquery_dataset_info.py

View file

@ -0,0 +1 @@
gcp_bigquery_table_info.py

View file

@ -0,0 +1 @@
gcp_cloudbuild_trigger_info.py

View file

@ -0,0 +1 @@
gcp_cloudscheduler_job_info.py

View file

@ -0,0 +1 @@
gcp_cloudtasks_queue_info.py

View file

@ -0,0 +1 @@
gcp_compute_address_info.py

View file

@ -0,0 +1 @@
gcp_compute_autoscaler_info.py

View file

@ -0,0 +1 @@
gcp_compute_backend_bucket_info.py

View file

@ -0,0 +1 @@
gcp_compute_backend_service_info.py

View file

@ -0,0 +1 @@
gcp_compute_disk_info.py

View file

@ -0,0 +1 @@
gcp_compute_firewall_info.py

View file

@ -0,0 +1 @@
gcp_compute_forwarding_rule_info.py

View file

@ -0,0 +1 @@
gcp_compute_global_address_info.py

View file

@ -0,0 +1 @@
gcp_compute_global_forwarding_rule_info.py

View file

@ -0,0 +1 @@
gcp_compute_health_check_info.py

View file

@ -0,0 +1 @@
gcp_compute_http_health_check_info.py

View file

@ -0,0 +1 @@
gcp_compute_https_health_check_info.py

View file

@ -0,0 +1 @@
gcp_compute_image_info.py

View file

@ -0,0 +1 @@
gcp_compute_instance_info.py

View file

@ -0,0 +1 @@
gcp_compute_instance_group_info.py

View file

@ -0,0 +1 @@
gcp_compute_instance_group_manager_info.py

View file

@ -0,0 +1 @@
gcp_compute_instance_template_info.py

View file

@ -0,0 +1 @@
gcp_compute_interconnect_attachment_info.py

View file

@ -0,0 +1 @@
gcp_compute_network_info.py

View file

@ -0,0 +1 @@
gcp_compute_region_disk_info.py

View file

@ -0,0 +1 @@
gcp_compute_route_info.py

View file

@ -0,0 +1 @@
gcp_compute_router_info.py

View file

@ -0,0 +1 @@
gcp_compute_snapshot_info.py

View file

@ -0,0 +1 @@
gcp_compute_ssl_certificate_info.py

View file

@ -0,0 +1 @@
gcp_compute_ssl_policy_info.py

View file

@ -0,0 +1 @@
gcp_compute_subnetwork_info.py

View file

@ -0,0 +1 @@
gcp_compute_target_http_proxy_info.py

View file

@ -0,0 +1 @@
gcp_compute_target_https_proxy_info.py

View file

@ -0,0 +1 @@
gcp_compute_target_pool_info.py

View file

@ -0,0 +1 @@
gcp_compute_target_ssl_proxy_info.py

View file

@ -0,0 +1 @@
gcp_compute_target_tcp_proxy_info.py

View file

@ -0,0 +1 @@
gcp_compute_target_vpn_gateway_info.py

View file

@ -0,0 +1 @@
gcp_compute_url_map_info.py

View file

@ -0,0 +1 @@
gcp_compute_vpn_tunnel_info.py

View file

@ -0,0 +1 @@
gcp_container_cluster_info.py

View file

@ -0,0 +1 @@
gcp_container_node_pool_info.py

View file

@ -0,0 +1 @@
gcp_dns_managed_zone_info.py

View file

@ -0,0 +1 @@
gcp_dns_resource_record_set_info.py

View file

@ -0,0 +1 @@
gcp_iam_role_info.py

View file

@ -0,0 +1 @@
gcp_iam_service_account_info.py

View file

@ -0,0 +1 @@
gcp_mlengine_model_info.py

View file

@ -0,0 +1 @@
gcp_mlengine_version_info.py

View file

@ -0,0 +1 @@
gcp_pubsub_subscription_info.py

View file

@ -0,0 +1 @@
gcp_pubsub_topic_info.py

View file

@ -0,0 +1 @@
gcp_redis_instance_info.py

View file

@ -0,0 +1 @@
gcp_resourcemanager_project_info.py

View file

@ -0,0 +1 @@
gcp_sourcerepo_repository_info.py

View file

@ -0,0 +1 @@
gcp_spanner_database_info.py

View file

@ -0,0 +1 @@
gcp_spanner_instance_info.py

View file

@ -0,0 +1 @@
gcp_sql_database_info.py

View file

@ -0,0 +1 @@
gcp_sql_instance_info.py

View file

@ -0,0 +1 @@
gcp_sql_user_info.py

View file

@ -0,0 +1 @@
gcp_tpu_node_info.py

View file

@ -29,10 +29,10 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_appengine_firewall_rule_facts module: gcp_appengine_firewall_rule_info
description: description:
- Gather facts for GCP FirewallRule - Gather info for GCP FirewallRule
short_description: Gather facts for GCP FirewallRule short_description: Gather info for GCP FirewallRule
version_added: 2.9 version_added: 2.9
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -44,8 +44,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a firewall rule facts" - name: " a firewall rule info"
gcp_appengine_firewall_rule_facts: gcp_appengine_firewall_rule_info:
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_bigquery_dataset_facts module: gcp_bigquery_dataset_info
description: description:
- Gather facts for GCP Dataset - Gather info for GCP Dataset
short_description: Gather facts for GCP Dataset - This module was previously called gcp_bigquery_dataset_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP Dataset
version_added: 2.8 version_added: 2.8
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -44,8 +46,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a dataset facts" - name: " a dataset info"
gcp_bigquery_dataset_facts: gcp_bigquery_dataset_info:
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
@ -200,6 +202,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict()) module = GcpModule(argument_spec=dict())
if module._name == 'gcp_bigquery_dataset_facts':
module.deprecate("The 'gcp_bigquery_dataset_facts' module has been renamed to 'gcp_bigquery_dataset_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery'] module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_bigquery_table_facts module: gcp_bigquery_table_info
description: description:
- Gather facts for GCP Table - Gather info for GCP Table
short_description: Gather facts for GCP Table - This module was previously called gcp_bigquery_table_facts before Ansible 2.9. The
usage has not changed
short_description: Gather info for GCP Table
version_added: 2.8 version_added: 2.8
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -49,8 +51,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a table facts" - name: " a table info"
gcp_bigquery_table_facts: gcp_bigquery_table_info:
dataset: example_dataset dataset: example_dataset
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
@ -515,6 +517,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(dataset=dict(type='str'))) module = GcpModule(argument_spec=dict(dataset=dict(type='str')))
if module._name == 'gcp_bigquery_table_facts':
module.deprecate("The 'gcp_bigquery_table_facts' module has been renamed to 'gcp_bigquery_table_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery'] module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_cloudbuild_trigger_facts module: gcp_cloudbuild_trigger_info
description: description:
- Gather facts for GCP Trigger - Gather info for GCP Trigger
short_description: Gather facts for GCP Trigger - This module was previously called gcp_cloudbuild_trigger_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP Trigger
version_added: 2.8 version_added: 2.8
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -44,8 +46,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a trigger facts" - name: " a trigger info"
gcp_cloudbuild_trigger_facts: gcp_cloudbuild_trigger_info:
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
@ -316,6 +318,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict()) module = GcpModule(argument_spec=dict())
if module._name == 'gcp_cloudbuild_trigger_facts':
module.deprecate("The 'gcp_cloudbuild_trigger_facts' module has been renamed to 'gcp_cloudbuild_trigger_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform'] module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']

View file

@ -29,10 +29,10 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_cloudscheduler_job_facts module: gcp_cloudscheduler_job_info
description: description:
- Gather facts for GCP Job - Gather info for GCP Job
short_description: Gather facts for GCP Job short_description: Gather info for GCP Job
version_added: 2.9 version_added: 2.9
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -49,8 +49,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a job facts" - name: " a job info"
gcp_cloudscheduler_job_facts: gcp_cloudscheduler_job_info:
region: us-central1 region: us-central1
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount

View file

@ -29,10 +29,10 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_cloudtasks_queue_facts module: gcp_cloudtasks_queue_info
description: description:
- Gather facts for GCP Queue - Gather info for GCP Queue
short_description: Gather facts for GCP Queue short_description: Gather info for GCP Queue
version_added: 2.9 version_added: 2.9
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -49,8 +49,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a queue facts" - name: " a queue info"
gcp_cloudtasks_queue_facts: gcp_cloudtasks_queue_info:
location: us-central1 location: us-central1
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_address_facts module: gcp_compute_address_info
description: description:
- Gather facts for GCP Address - Gather info for GCP Address
short_description: Gather facts for GCP Address - This module was previously called gcp_compute_address_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP Address
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -56,8 +58,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a address facts" - name: " a address info"
gcp_compute_address_facts: gcp_compute_address_info:
region: us-west1 region: us-west1
filters: filters:
- name = test_object - name = test_object
@ -151,6 +153,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
if module._name == 'gcp_compute_address_facts':
module.deprecate("The 'gcp_compute_address_facts' module has been renamed to 'gcp_compute_address_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,10 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_autoscaler_facts module: gcp_compute_autoscaler_info
description: description:
- Gather facts for GCP Autoscaler - Gather info for GCP Autoscaler
short_description: Gather facts for GCP Autoscaler short_description: Gather info for GCP Autoscaler
version_added: 2.9 version_added: 2.9
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +55,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a autoscaler facts" - name: " a autoscaler info"
gcp_compute_autoscaler_facts: gcp_compute_autoscaler_info:
zone: us-central1-a zone: us-central1-a
filters: filters:
- name = test_object - name = test_object

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_backend_bucket_facts module: gcp_compute_backend_bucket_info
description: description:
- Gather facts for GCP BackendBucket - Gather info for GCP BackendBucket
short_description: Gather facts for GCP BackendBucket - This module was previously called gcp_compute_backend_bucket_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP BackendBucket
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a backend bucket facts" - name: " a backend bucket info"
gcp_compute_backend_bucket_facts: gcp_compute_backend_bucket_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -134,6 +136,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_backend_bucket_facts':
module.deprecate("The 'gcp_compute_backend_bucket_facts' module has been renamed to 'gcp_compute_backend_bucket_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_backend_service_facts module: gcp_compute_backend_service_info
description: description:
- Gather facts for GCP BackendService - Gather info for GCP BackendService
short_description: Gather facts for GCP BackendService - This module was previously called gcp_compute_backend_service_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP BackendService
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a backend service facts" - name: " a backend service info"
gcp_compute_backend_service_facts: gcp_compute_backend_service_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -371,6 +373,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_backend_service_facts':
module.deprecate("The 'gcp_compute_backend_service_facts' module has been renamed to 'gcp_compute_backend_service_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_disk_facts module: gcp_compute_disk_info
description: description:
- Gather facts for GCP Disk - Gather info for GCP Disk
short_description: Gather facts for GCP Disk - This module was previously called gcp_compute_disk_facts before Ansible 2.9. The
usage has not changed
short_description: Gather info for GCP Disk
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a disk facts" - name: " a disk info"
gcp_compute_disk_facts: gcp_compute_disk_info:
zone: us-central1-a zone: us-central1-a
filters: filters:
- name = test_object - name = test_object
@ -294,6 +296,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
if module._name == 'gcp_compute_disk_facts':
module.deprecate("The 'gcp_compute_disk_facts' module has been renamed to 'gcp_compute_disk_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_firewall_facts module: gcp_compute_firewall_info
description: description:
- Gather facts for GCP Firewall - Gather info for GCP Firewall
short_description: Gather facts for GCP Firewall - This module was previously called gcp_compute_firewall_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP Firewall
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a firewall facts" - name: " a firewall info"
gcp_compute_firewall_facts: gcp_compute_firewall_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -250,6 +252,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_firewall_facts':
module.deprecate("The 'gcp_compute_firewall_facts' module has been renamed to 'gcp_compute_firewall_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_forwarding_rule_facts module: gcp_compute_forwarding_rule_info
description: description:
- Gather facts for GCP ForwardingRule - Gather info for GCP ForwardingRule
short_description: Gather facts for GCP ForwardingRule - This module was previously called gcp_compute_forwarding_rule_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP ForwardingRule
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -56,8 +58,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a forwarding rule facts" - name: " a forwarding rule info"
gcp_compute_forwarding_rule_facts: gcp_compute_forwarding_rule_info:
region: us-west1 region: us-west1
filters: filters:
- name = test_object - name = test_object
@ -252,6 +254,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
if module._name == 'gcp_compute_forwarding_rule_facts':
module.deprecate("The 'gcp_compute_forwarding_rule_facts' module has been renamed to 'gcp_compute_forwarding_rule_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_global_address_facts module: gcp_compute_global_address_info
description: description:
- Gather facts for GCP GlobalAddress - Gather info for GCP GlobalAddress
short_description: Gather facts for GCP GlobalAddress - This module was previously called gcp_compute_global_address_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP GlobalAddress
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a global address facts" - name: " a global address info"
gcp_compute_global_address_facts: gcp_compute_global_address_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -151,6 +153,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_global_address_facts':
module.deprecate("The 'gcp_compute_global_address_facts' module has been renamed to 'gcp_compute_global_address_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_global_forwarding_rule_facts module: gcp_compute_global_forwarding_rule_info
description: description:
- Gather facts for GCP GlobalForwardingRule - Gather info for GCP GlobalForwardingRule
short_description: Gather facts for GCP GlobalForwardingRule - This module was previously called gcp_compute_global_forwarding_rule_facts before
Ansible 2.9. The usage has not changed
short_description: Gather info for GCP GlobalForwardingRule
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a global forwarding rule facts" - name: " a global forwarding rule info"
gcp_compute_global_forwarding_rule_facts: gcp_compute_global_forwarding_rule_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -181,6 +183,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_global_forwarding_rule_facts':
module.deprecate("The 'gcp_compute_global_forwarding_rule_facts' module has been renamed to 'gcp_compute_global_forwarding_rule_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_health_check_facts module: gcp_compute_health_check_info
description: description:
- Gather facts for GCP HealthCheck - Gather info for GCP HealthCheck
short_description: Gather facts for GCP HealthCheck - This module was previously called gcp_compute_health_check_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP HealthCheck
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a health check facts" - name: " a health check info"
gcp_compute_health_check_facts: gcp_compute_health_check_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -361,6 +363,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_health_check_facts':
module.deprecate("The 'gcp_compute_health_check_facts' module has been renamed to 'gcp_compute_health_check_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_http_health_check_facts module: gcp_compute_http_health_check_info
description: description:
- Gather facts for GCP HttpHealthCheck - Gather info for GCP HttpHealthCheck
short_description: Gather facts for GCP HttpHealthCheck - This module was previously called gcp_compute_http_health_check_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP HttpHealthCheck
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a http health check facts" - name: " a http health check info"
gcp_compute_http_health_check_facts: gcp_compute_http_health_check_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -151,6 +153,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_http_health_check_facts':
module.deprecate("The 'gcp_compute_http_health_check_facts' module has been renamed to 'gcp_compute_http_health_check_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_https_health_check_facts module: gcp_compute_https_health_check_info
description: description:
- Gather facts for GCP HttpsHealthCheck - Gather info for GCP HttpsHealthCheck
short_description: Gather facts for GCP HttpsHealthCheck - This module was previously called gcp_compute_https_health_check_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP HttpsHealthCheck
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a https health check facts" - name: " a https health check info"
gcp_compute_https_health_check_facts: gcp_compute_https_health_check_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -151,6 +153,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_https_health_check_facts':
module.deprecate("The 'gcp_compute_https_health_check_facts' module has been renamed to 'gcp_compute_https_health_check_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_image_facts module: gcp_compute_image_info
description: description:
- Gather facts for GCP Image - Gather info for GCP Image
short_description: Gather facts for GCP Image - This module was previously called gcp_compute_image_facts before Ansible 2.9. The
usage has not changed
short_description: Gather info for GCP Image
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a image facts" - name: " a image info"
gcp_compute_image_facts: gcp_compute_image_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -293,6 +295,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_image_facts':
module.deprecate("The 'gcp_compute_image_facts' module has been renamed to 'gcp_compute_image_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_instance_group_facts module: gcp_compute_instance_group_info
description: description:
- Gather facts for GCP InstanceGroup - Gather info for GCP InstanceGroup
short_description: Gather facts for GCP InstanceGroup - This module was previously called gcp_compute_instance_group_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP InstanceGroup
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a instance group facts" - name: " a instance group info"
gcp_compute_instance_group_facts: gcp_compute_instance_group_info:
zone: us-central1-a zone: us-central1-a
filters: filters:
- name = test_object - name = test_object
@ -160,6 +162,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
if module._name == 'gcp_compute_instance_group_facts':
module.deprecate("The 'gcp_compute_instance_group_facts' module has been renamed to 'gcp_compute_instance_group_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_instance_group_manager_facts module: gcp_compute_instance_group_manager_info
description: description:
- Gather facts for GCP InstanceGroupManager - Gather info for GCP InstanceGroupManager
short_description: Gather facts for GCP InstanceGroupManager - This module was previously called gcp_compute_instance_group_manager_facts before
Ansible 2.9. The usage has not changed
short_description: Gather info for GCP InstanceGroupManager
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a instance group manager facts" - name: " a instance group manager info"
gcp_compute_instance_group_manager_facts: gcp_compute_instance_group_manager_info:
zone: us-west1-a zone: us-west1-a
filters: filters:
- name = test_object - name = test_object
@ -235,6 +237,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
if module._name == 'gcp_compute_instance_group_manager_facts':
module.deprecate("The 'gcp_compute_instance_group_manager_facts' module has been renamed to 'gcp_compute_instance_group_manager_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_instance_facts module: gcp_compute_instance_info
description: description:
- Gather facts for GCP Instance - Gather info for GCP Instance
short_description: Gather facts for GCP Instance - This module was previously called gcp_compute_instance_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP Instance
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a instance facts" - name: " a instance info"
gcp_compute_instance_facts: gcp_compute_instance_info:
zone: us-central1-a zone: us-central1-a
filters: filters:
- name = test_object - name = test_object
@ -488,6 +490,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
if module._name == 'gcp_compute_instance_facts':
module.deprecate("The 'gcp_compute_instance_facts' module has been renamed to 'gcp_compute_instance_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_instance_template_facts module: gcp_compute_instance_template_info
description: description:
- Gather facts for GCP InstanceTemplate - Gather info for GCP InstanceTemplate
short_description: Gather facts for GCP InstanceTemplate - This module was previously called gcp_compute_instance_template_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP InstanceTemplate
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a instance template facts" - name: " a instance template info"
gcp_compute_instance_template_facts: gcp_compute_instance_template_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -480,6 +482,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_instance_template_facts':
module.deprecate("The 'gcp_compute_instance_template_facts' module has been renamed to 'gcp_compute_instance_template_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_interconnect_attachment_facts module: gcp_compute_interconnect_attachment_info
description: description:
- Gather facts for GCP InterconnectAttachment - Gather info for GCP InterconnectAttachment
short_description: Gather facts for GCP InterconnectAttachment - This module was previously called gcp_compute_interconnect_attachment_facts before
Ansible 2.9. The usage has not changed
short_description: Gather info for GCP InterconnectAttachment
version_added: 2.8 version_added: 2.8
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a interconnect attachment facts" - name: " a interconnect attachment info"
gcp_compute_interconnect_attachment_facts: gcp_compute_interconnect_attachment_info:
region: us-central1 region: us-central1
filters: filters:
- name = test_object - name = test_object
@ -215,6 +217,11 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
if module._name == 'gcp_compute_interconnect_attachment_facts':
module.deprecate(
"The 'gcp_compute_interconnect_attachment_facts' module has been renamed to 'gcp_compute_interconnect_attachment_info'", version='2.13'
)
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_network_facts module: gcp_compute_network_info
description: description:
- Gather facts for GCP Network - Gather info for GCP Network
short_description: Gather facts for GCP Network - This module was previously called gcp_compute_network_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP Network
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a network facts" - name: " a network info"
gcp_compute_network_facts: gcp_compute_network_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -154,6 +156,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_network_facts':
module.deprecate("The 'gcp_compute_network_facts' module has been renamed to 'gcp_compute_network_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_region_disk_facts module: gcp_compute_region_disk_info
description: description:
- Gather facts for GCP RegionDisk - Gather info for GCP RegionDisk
short_description: Gather facts for GCP RegionDisk - This module was previously called gcp_compute_region_disk_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP RegionDisk
version_added: 2.8 version_added: 2.8
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a region disk facts" - name: " a region disk info"
gcp_compute_region_disk_facts: gcp_compute_region_disk_info:
region: us-central1 region: us-central1
filters: filters:
- name = test_object - name = test_object
@ -240,6 +242,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
if module._name == 'gcp_compute_region_disk_facts':
module.deprecate("The 'gcp_compute_region_disk_facts' module has been renamed to 'gcp_compute_region_disk_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_route_facts module: gcp_compute_route_info
description: description:
- Gather facts for GCP Route - Gather info for GCP Route
short_description: Gather facts for GCP Route - This module was previously called gcp_compute_route_facts before Ansible 2.9. The
usage has not changed
short_description: Gather info for GCP Route
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a route facts" - name: " a route info"
gcp_compute_route_facts: gcp_compute_route_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -154,6 +156,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_route_facts':
module.deprecate("The 'gcp_compute_route_facts' module has been renamed to 'gcp_compute_route_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_router_facts module: gcp_compute_router_info
description: description:
- Gather facts for GCP Router - Gather info for GCP Router
short_description: Gather facts for GCP Router - This module was previously called gcp_compute_router_facts before Ansible 2.9. The
usage has not changed
short_description: Gather info for GCP Router
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a router facts" - name: " a router info"
gcp_compute_router_facts: gcp_compute_router_info:
region: us-central1 region: us-central1
filters: filters:
- name = test_object - name = test_object
@ -170,6 +172,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
if module._name == 'gcp_compute_router_facts':
module.deprecate("The 'gcp_compute_router_facts' module has been renamed to 'gcp_compute_router_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,10 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_snapshot_facts module: gcp_compute_snapshot_info
description: description:
- Gather facts for GCP Snapshot - Gather info for GCP Snapshot
short_description: Gather facts for GCP Snapshot short_description: Gather info for GCP Snapshot
version_added: 2.9 version_added: 2.9
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +50,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a snapshot facts" - name: " a snapshot info"
gcp_compute_snapshot_facts: gcp_compute_snapshot_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_ssl_certificate_facts module: gcp_compute_ssl_certificate_info
description: description:
- Gather facts for GCP SslCertificate - Gather info for GCP SslCertificate
short_description: Gather facts for GCP SslCertificate - This module was previously called gcp_compute_ssl_certificate_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP SslCertificate
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a ssl certificate facts" - name: " a ssl certificate info"
gcp_compute_ssl_certificate_facts: gcp_compute_ssl_certificate_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -118,6 +120,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_ssl_certificate_facts':
module.deprecate("The 'gcp_compute_ssl_certificate_facts' module has been renamed to 'gcp_compute_ssl_certificate_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_ssl_policy_facts module: gcp_compute_ssl_policy_info
description: description:
- Gather facts for GCP SslPolicy - Gather info for GCP SslPolicy
short_description: Gather facts for GCP SslPolicy - This module was previously called gcp_compute_ssl_policy_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP SslPolicy
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a ssl policy facts" - name: " a ssl policy info"
gcp_compute_ssl_policy_facts: gcp_compute_ssl_policy_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -156,6 +158,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_ssl_policy_facts':
module.deprecate("The 'gcp_compute_ssl_policy_facts' module has been renamed to 'gcp_compute_ssl_policy_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_subnetwork_facts module: gcp_compute_subnetwork_info
description: description:
- Gather facts for GCP Subnetwork - Gather info for GCP Subnetwork
short_description: Gather facts for GCP Subnetwork - This module was previously called gcp_compute_subnetwork_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP Subnetwork
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a subnetwork facts" - name: " a subnetwork info"
gcp_compute_subnetwork_facts: gcp_compute_subnetwork_info:
region: us-west1 region: us-west1
filters: filters:
- name = test_object - name = test_object
@ -179,6 +181,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
if module._name == 'gcp_compute_subnetwork_facts':
module.deprecate("The 'gcp_compute_subnetwork_facts' module has been renamed to 'gcp_compute_subnetwork_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_target_http_proxy_facts module: gcp_compute_target_http_proxy_info
description: description:
- Gather facts for GCP TargetHttpProxy - Gather info for GCP TargetHttpProxy
short_description: Gather facts for GCP TargetHttpProxy - This module was previously called gcp_compute_target_http_proxy_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP TargetHttpProxy
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a target http proxy facts" - name: " a target http proxy info"
gcp_compute_target_http_proxy_facts: gcp_compute_target_http_proxy_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -112,6 +114,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_target_http_proxy_facts':
module.deprecate("The 'gcp_compute_target_http_proxy_facts' module has been renamed to 'gcp_compute_target_http_proxy_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_target_https_proxy_facts module: gcp_compute_target_https_proxy_info
description: description:
- Gather facts for GCP TargetHttpsProxy - Gather info for GCP TargetHttpsProxy
short_description: Gather facts for GCP TargetHttpsProxy - This module was previously called gcp_compute_target_https_proxy_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP TargetHttpsProxy
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a target https proxy facts" - name: " a target https proxy info"
gcp_compute_target_https_proxy_facts: gcp_compute_target_https_proxy_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -135,6 +137,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_target_https_proxy_facts':
module.deprecate("The 'gcp_compute_target_https_proxy_facts' module has been renamed to 'gcp_compute_target_https_proxy_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_target_pool_facts module: gcp_compute_target_pool_info
description: description:
- Gather facts for GCP TargetPool - Gather info for GCP TargetPool
short_description: Gather facts for GCP TargetPool - This module was previously called gcp_compute_target_pool_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP TargetPool
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a target pool facts" - name: " a target pool info"
gcp_compute_target_pool_facts: gcp_compute_target_pool_info:
region: us-west1 region: us-west1
filters: filters:
- name = test_object - name = test_object
@ -171,6 +173,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
if module._name == 'gcp_compute_target_pool_facts':
module.deprecate("The 'gcp_compute_target_pool_facts' module has been renamed to 'gcp_compute_target_pool_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_target_ssl_proxy_facts module: gcp_compute_target_ssl_proxy_info
description: description:
- Gather facts for GCP TargetSslProxy - Gather info for GCP TargetSslProxy
short_description: Gather facts for GCP TargetSslProxy - This module was previously called gcp_compute_target_ssl_proxy_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP TargetSslProxy
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a target ssl proxy facts" - name: " a target ssl proxy info"
gcp_compute_target_ssl_proxy_facts: gcp_compute_target_ssl_proxy_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -131,6 +133,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_target_ssl_proxy_facts':
module.deprecate("The 'gcp_compute_target_ssl_proxy_facts' module has been renamed to 'gcp_compute_target_ssl_proxy_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_target_tcp_proxy_facts module: gcp_compute_target_tcp_proxy_info
description: description:
- Gather facts for GCP TargetTcpProxy - Gather info for GCP TargetTcpProxy
short_description: Gather facts for GCP TargetTcpProxy - This module was previously called gcp_compute_target_tcp_proxy_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP TargetTcpProxy
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a target tcp proxy facts" - name: " a target tcp proxy info"
gcp_compute_target_tcp_proxy_facts: gcp_compute_target_tcp_proxy_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -117,6 +119,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_target_tcp_proxy_facts':
module.deprecate("The 'gcp_compute_target_tcp_proxy_facts' module has been renamed to 'gcp_compute_target_tcp_proxy_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_target_vpn_gateway_facts module: gcp_compute_target_vpn_gateway_info
description: description:
- Gather facts for GCP TargetVpnGateway - Gather info for GCP TargetVpnGateway
short_description: Gather facts for GCP TargetVpnGateway - This module was previously called gcp_compute_target_vpn_gateway_facts before Ansible
2.9. The usage has not changed
short_description: Gather info for GCP TargetVpnGateway
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a target vpn gateway facts" - name: " a target vpn gateway info"
gcp_compute_target_vpn_gateway_facts: gcp_compute_target_vpn_gateway_info:
region: us-west1 region: us-west1
filters: filters:
- name = test_object - name = test_object
@ -133,6 +135,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
if module._name == 'gcp_compute_target_vpn_gateway_facts':
module.deprecate("The 'gcp_compute_target_vpn_gateway_facts' module has been renamed to 'gcp_compute_target_vpn_gateway_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_url_map_facts module: gcp_compute_url_map_info
description: description:
- Gather facts for GCP UrlMap - Gather info for GCP UrlMap
short_description: Gather facts for GCP UrlMap - This module was previously called gcp_compute_url_map_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP UrlMap
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a url map facts" - name: " a url map info"
gcp_compute_url_map_facts: gcp_compute_url_map_info:
filters: filters:
- name = test_object - name = test_object
project: test_project project: test_project
@ -213,6 +215,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_url_map_facts':
module.deprecate("The 'gcp_compute_url_map_facts' module has been renamed to 'gcp_compute_url_map_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_compute_vpn_tunnel_facts module: gcp_compute_vpn_tunnel_info
description: description:
- Gather facts for GCP VpnTunnel - Gather info for GCP VpnTunnel
short_description: Gather facts for GCP VpnTunnel - This module was previously called gcp_compute_vpn_tunnel_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP VpnTunnel
version_added: 2.7 version_added: 2.7
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a vpn tunnel facts" - name: " a vpn tunnel info"
gcp_compute_vpn_tunnel_facts: gcp_compute_vpn_tunnel_info:
region: us-west1 region: us-west1
filters: filters:
- name = test_object - name = test_object
@ -160,6 +162,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
if module._name == 'gcp_compute_vpn_tunnel_facts':
module.deprecate("The 'gcp_compute_vpn_tunnel_facts' module has been renamed to 'gcp_compute_vpn_tunnel_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] module.params['scopes'] = ['https://www.googleapis.com/auth/compute']

View file

@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: gcp_container_cluster_facts module: gcp_container_cluster_info
description: description:
- Gather facts for GCP Cluster - Gather info for GCP Cluster
short_description: Gather facts for GCP Cluster - This module was previously called gcp_container_cluster_facts before Ansible 2.9.
The usage has not changed
short_description: Gather info for GCP Cluster
version_added: 2.8 version_added: 2.8
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
@ -53,8 +55,8 @@ extends_documentation_fragment: gcp
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: " a cluster facts" - name: " a cluster info"
gcp_container_cluster_facts: gcp_container_cluster_info:
location: us-central1-a location: us-central1-a
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
@ -578,6 +580,9 @@ import json
def main(): def main():
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone']))) module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone'])))
if module._name == 'gcp_container_cluster_facts':
module.deprecate("The 'gcp_container_cluster_facts' module has been renamed to 'gcp_container_cluster_info'", version='2.13')
if not module.params['scopes']: if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform'] module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']

Some files were not shown because too many files have changed in this diff Show more