Changing GCP Facts modules to Info Modules (#60172)
* file changes, porting guide, changelog fragment, renaming autoscaler, removing rst links * Apply suggestions from code review Co-Authored-By: Alicia Cozine <879121+acozine@users.noreply.github.com> Co-Authored-By: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
b6202dde32
commit
2e90efd4a7
170 changed files with 823 additions and 412 deletions
53
changelogs/fragments/gcp-facts-info-rename.yaml
Normal file
53
changelogs/fragments/gcp-facts-info-rename.yaml
Normal file
|
@ -0,0 +1,53 @@
|
|||
minor_changes:
|
||||
- The ``gcp_bigquery_dataset_facts`` module was renamed to ``gcp_bigquery_dataset_info``.
|
||||
- The ``gcp_bigquery_table_facts`` module was renamed to ``gcp_bigquery_table_info``.
|
||||
- The ``gcp_cloudbuild_trigger_facts`` module was renamed to ``gcp_cloudbuild_trigger_info``.
|
||||
- The ``gcp_compute_address_facts`` module was renamed to ``gcp_compute_address_info``.
|
||||
- The ``gcp_compute_backend_bucket_facts`` module was renamed to ``gcp_compute_backend_bucket_info``.
|
||||
- The ``gcp_compute_backend_service_facts`` module was renamed to ``gcp_compute_backend_service_info``.
|
||||
- The ``gcp_compute_disk_facts`` module was renamed to ``gcp_compute_disk_info``.
|
||||
- The ``gcp_compute_firewall_facts`` module was renamed to ``gcp_compute_firewall_info``.
|
||||
- The ``gcp_compute_forwarding_rule_facts`` module was renamed to ``gcp_compute_forwarding_rule_info``.
|
||||
- The ``gcp_compute_global_address_facts`` module was renamed to ``gcp_compute_global_address_info``.
|
||||
- The ``gcp_compute_global_forwarding_rule_facts`` module was renamed to ``gcp_compute_global_forwarding_rule_info``.
|
||||
- The ``gcp_compute_health_check_facts`` module was renamed to ``gcp_compute_health_check_info``.
|
||||
- The ``gcp_compute_http_health_check_facts`` module was renamed to ``gcp_compute_http_health_check_info``.
|
||||
- The ``gcp_compute_https_health_check_facts`` module was renamed to ``gcp_compute_https_health_check_info``.
|
||||
- The ``gcp_compute_image_facts`` module was renamed to ``gcp_compute_image_info``.
|
||||
- The ``gcp_compute_instance_group_facts`` module was renamed to ``gcp_compute_instance_group_info``.
|
||||
- The ``gcp_compute_instance_group_manager_facts`` module was renamed to ``gcp_compute_instance_group_manager_info``.
|
||||
- The ``gcp_compute_instance_facts`` module was renamed to ``gcp_compute_instance_info``.
|
||||
- The ``gcp_compute_instance_template_facts`` module was renamed to ``gcp_compute_instance_template_info``.
|
||||
- The ``gcp_compute_interconnect_attachment_facts`` module was renamed to ``gcp_compute_interconnect_attachment_info``.
|
||||
- The ``gcp_compute_network_facts`` module was renamed to ``gcp_compute_network_info``.
|
||||
- The ``gcp_compute_region_disk_facts`` module was renamed to ``gcp_compute_region_disk_info``.
|
||||
- The ``gcp_compute_route_facts`` module was renamed to ``gcp_compute_route_info``.
|
||||
- The ``gcp_compute_router_facts`` module was renamed to ``gcp_compute_router_info``.
|
||||
- The ``gcp_compute_ssl_certificate_facts`` module was renamed to ``gcp_compute_ssl_certificate_info``.
|
||||
- The ``gcp_compute_ssl_policy_facts`` module was renamed to ``gcp_compute_ssl_policy_info``.
|
||||
- The ``gcp_compute_subnetwork_facts`` module was renamed to ``gcp_compute_subnetwork_info``.
|
||||
- The ``gcp_compute_target_http_proxy_facts`` module was renamed to ``gcp_compute_target_http_proxy_info``.
|
||||
- The ``gcp_compute_target_https_proxy_facts`` module was renamed to ``gcp_compute_target_https_proxy_info``.
|
||||
- The ``gcp_compute_target_pool_facts`` module was renamed to ``gcp_compute_target_pool_info``.
|
||||
- The ``gcp_compute_target_ssl_proxy_facts`` module was renamed to ``gcp_compute_target_ssl_proxy_info``.
|
||||
- The ``gcp_compute_target_tcp_proxy_facts`` module was renamed to ``gcp_compute_target_tcp_proxy_info``.
|
||||
- The ``gcp_compute_target_vpn_gateway_facts`` module was renamed to ``gcp_compute_target_vpn_gateway_info``.
|
||||
- The ``gcp_compute_url_map_facts`` module was renamed to ``gcp_compute_url_map_info``.
|
||||
- The ``gcp_compute_vpn_tunnel_facts`` module was renamed to ``gcp_compute_vpn_tunnel_info``.
|
||||
- The ``gcp_container_cluster_facts`` module was renamed to ``gcp_container_cluster_info``.
|
||||
- The ``gcp_container_node_pool_facts`` module was renamed to ``gcp_container_node_pool_info``.
|
||||
- The ``gcp_dns_managed_zone_facts`` module was renamed to ``gcp_dns_managed_zone_info``.
|
||||
- The ``gcp_dns_resource_record_set_facts`` module was renamed to ``gcp_dns_resource_record_set_info``.
|
||||
- The ``gcp_iam_role_facts`` module was renamed to ``gcp_iam_role_info``.
|
||||
- The ``gcp_iam_service_account_facts`` module was renamed to ``gcp_iam_service_account_info``.
|
||||
- The ``gcp_pubsub_subscription_facts`` module was renamed to ``gcp_pubsub_subscription_info``.
|
||||
- The ``gcp_pubsub_topic_facts`` module was renamed to ``gcp_pubsub_topic_info``.
|
||||
- The ``gcp_redis_instance_facts`` module was renamed to ``gcp_redis_instance_info``.
|
||||
- The ``gcp_resourcemanager_project_facts`` module was renamed to ``gcp_resourcemanager_project_info``.
|
||||
- The ``gcp_sourcerepo_repository_facts`` module was renamed to ``gcp_sourcerepo_repository_info``.
|
||||
- The ``gcp_spanner_database_facts`` module was renamed to ``gcp_spanner_database_info``.
|
||||
- The ``gcp_spanner_instance_facts`` module was renamed to ``gcp_spanner_instance_info``.
|
||||
- The ``gcp_sql_database_facts`` module was renamed to ``gcp_sql_database_info``.
|
||||
- The ``gcp_sql_instance_facts`` module was renamed to ``gcp_sql_instance_info``.
|
||||
- The ``gcp_sql_user_facts`` module was renamed to ``gcp_sql_user_info``.
|
||||
- The ``gcp_tpu_node_facts`` module was renamed to ``gcp_tpu_node_info``.
|
|
@ -146,6 +146,58 @@ Noteworthy module changes
|
|||
* The ``elb_classic_lb_facts`` module was renamed to :ref:`elb_classic_lb_info <elb_classic_lb_info_module>`.
|
||||
* The ``elb_target_facts`` module was renamed to :ref:`elb_target_info <elb_target_info_module>`.
|
||||
* The ``elb_target_group_facts`` module was renamed to :ref:`elb_target_group_info <elb_target_group_info_module>`.
|
||||
* The ``gcp_bigquery_dataset_facts`` module was renamed to :ref:`gcp_bigquery_dataset_info <gcp_bigquery_dataset_info_module>`.
|
||||
* The ``gcp_bigquery_table_facts`` module was renamed to :ref:`gcp_bigquery_table_info <gcp_bigquery_table_info_module>`.
|
||||
* The ``gcp_cloudbuild_trigger_facts`` module was renamed to :ref:`gcp_cloudbuild_trigger_info <gcp_cloudbuild_trigger_info_module>`.
|
||||
* The ``gcp_compute_address_facts`` module was renamed to :ref:`gcp_compute_address_info <gcp_compute_address_info_module>`.
|
||||
* The ``gcp_compute_backend_bucket_facts`` module was renamed to :ref:`gcp_compute_backend_bucket_info <gcp_compute_backend_bucket_info_module>`.
|
||||
* The ``gcp_compute_backend_service_facts`` module was renamed to :ref:`gcp_compute_backend_service_info <gcp_compute_backend_service_info_module>`.
|
||||
* The ``gcp_compute_disk_facts`` module was renamed to :ref:`gcp_compute_disk_info <gcp_compute_disk_info_module>`.
|
||||
* The ``gcp_compute_firewall_facts`` module was renamed to :ref:`gcp_compute_firewall_info <gcp_compute_firewall_info_module>`.
|
||||
* The ``gcp_compute_forwarding_rule_facts`` module was renamed to :ref:`gcp_compute_forwarding_rule_info <gcp_compute_forwarding_rule_info_module>`.
|
||||
* The ``gcp_compute_global_address_facts`` module was renamed to :ref:`gcp_compute_global_address_info <gcp_compute_global_address_info_module>`.
|
||||
* The ``gcp_compute_global_forwarding_rule_facts`` module was renamed to :ref:`gcp_compute_global_forwarding_rule_info <gcp_compute_global_forwarding_rule_info_module>`.
|
||||
* The ``gcp_compute_health_check_facts`` module was renamed to :ref:`gcp_compute_health_check_info <gcp_compute_health_check_info_module>`.
|
||||
* The ``gcp_compute_http_health_check_facts`` module was renamed to :ref:`gcp_compute_http_health_check_info <gcp_compute_http_health_check_info_module>`.
|
||||
* The ``gcp_compute_https_health_check_facts`` module was renamed to :ref:`gcp_compute_https_health_check_info <gcp_compute_https_health_check_info_module>`.
|
||||
* The ``gcp_compute_image_facts`` module was renamed to :ref:`gcp_compute_image_info <gcp_compute_image_info_module>`.
|
||||
* The ``gcp_compute_instance_group_facts`` module was renamed to :ref:`gcp_compute_instance_group_info <gcp_compute_instance_group_info_module>`.
|
||||
* The ``gcp_compute_instance_group_manager_facts`` module was renamed to :ref:`gcp_compute_instance_group_manager_info <gcp_compute_instance_group_manager_info_module>`.
|
||||
* The ``gcp_compute_instance_facts`` module was renamed to :ref:`gcp_compute_instance_info <gcp_compute_instance_info_module>`.
|
||||
* The ``gcp_compute_instance_template_facts`` module was renamed to :ref:`gcp_compute_instance_template_info <gcp_compute_instance_template_info_module>`.
|
||||
* The ``gcp_compute_interconnect_attachment_facts`` module was renamed to :ref:`gcp_compute_interconnect_attachment_info <gcp_compute_interconnect_attachment_info_module>`.
|
||||
* The ``gcp_compute_network_facts`` module was renamed to :ref:`gcp_compute_network_info <gcp_compute_network_info_module>`.
|
||||
* The ``gcp_compute_region_disk_facts`` module was renamed to :ref:`gcp_compute_region_disk_info <gcp_compute_region_disk_info_module>`.
|
||||
* The ``gcp_compute_route_facts`` module was renamed to :ref:`gcp_compute_route_info <gcp_compute_route_info_module>`.
|
||||
* The ``gcp_compute_router_facts`` module was renamed to :ref:`gcp_compute_router_info <gcp_compute_router_info_module>`.
|
||||
* The ``gcp_compute_ssl_certificate_facts`` module was renamed to :ref:`gcp_compute_ssl_certificate_info <gcp_compute_ssl_certificate_info_module>`.
|
||||
* The ``gcp_compute_ssl_policy_facts`` module was renamed to :ref:`gcp_compute_ssl_policy_info <gcp_compute_ssl_policy_info_module>`.
|
||||
* The ``gcp_compute_subnetwork_facts`` module was renamed to :ref:`gcp_compute_subnetwork_info <gcp_compute_subnetwork_info_module>`.
|
||||
* The ``gcp_compute_target_http_proxy_facts`` module was renamed to :ref:`gcp_compute_target_http_proxy_info <gcp_compute_target_http_proxy_info_module>`.
|
||||
* The ``gcp_compute_target_https_proxy_facts`` module was renamed to :ref:`gcp_compute_target_https_proxy_info <gcp_compute_target_https_proxy_info_module>`.
|
||||
* The ``gcp_compute_target_pool_facts`` module was renamed to :ref:`gcp_compute_target_pool_info <gcp_compute_target_pool_info_module>`.
|
||||
* The ``gcp_compute_target_ssl_proxy_facts`` module was renamed to :ref:`gcp_compute_target_ssl_proxy_info <gcp_compute_target_ssl_proxy_info_module>`.
|
||||
* The ``gcp_compute_target_tcp_proxy_facts`` module was renamed to :ref:`gcp_compute_target_tcp_proxy_info <gcp_compute_target_tcp_proxy_info_module>`.
|
||||
* The ``gcp_compute_target_vpn_gateway_facts`` module was renamed to :ref:`gcp_compute_target_vpn_gateway_info <gcp_compute_target_vpn_gateway_info_module>`.
|
||||
* The ``gcp_compute_url_map_facts`` module was renamed to :ref:`gcp_compute_url_map_info <gcp_compute_url_map_info_module>`.
|
||||
* The ``gcp_compute_vpn_tunnel_facts`` module was renamed to :ref:`gcp_compute_vpn_tunnel_info <gcp_compute_vpn_tunnel_info_module>`.
|
||||
* The ``gcp_container_cluster_facts`` module was renamed to :ref:`gcp_container_cluster_info <gcp_container_cluster_info_module>`.
|
||||
* The ``gcp_container_node_pool_facts`` module was renamed to :ref:`gcp_container_node_pool_info <gcp_container_node_pool_info_module>`.
|
||||
* The ``gcp_dns_managed_zone_facts`` module was renamed to :ref:`gcp_dns_managed_zone_info <gcp_dns_managed_zone_info_module>`.
|
||||
* The ``gcp_dns_resource_record_set_facts`` module was renamed to :ref:`gcp_dns_resource_record_set_info <gcp_dns_resource_record_set_info_module>`.
|
||||
* The ``gcp_iam_role_facts`` module was renamed to :ref:`gcp_iam_role_info <gcp_iam_role_info_module>`.
|
||||
* The ``gcp_iam_service_account_facts`` module was renamed to :ref:`gcp_iam_service_account_info <gcp_iam_service_account_info_module>`.
|
||||
* The ``gcp_pubsub_subscription_facts`` module was renamed to :ref:`gcp_pubsub_subscription_info <gcp_pubsub_subscription_info_module>`.
|
||||
* The ``gcp_pubsub_topic_facts`` module was renamed to :ref:`gcp_pubsub_topic_info <gcp_pubsub_topic_info_module>`.
|
||||
* The ``gcp_redis_instance_facts`` module was renamed to :ref:`gcp_redis_instance_info <gcp_redis_instance_info_module>`.
|
||||
* The ``gcp_resourcemanager_project_facts`` module was renamed to :ref:`gcp_resourcemanager_project_info <gcp_resourcemanager_project_info_module>`.
|
||||
* The ``gcp_sourcerepo_repository_facts`` module was renamed to :ref:`gcp_sourcerepo_repository_info <gcp_sourcerepo_repository_info_module>`.
|
||||
* The ``gcp_spanner_database_facts`` module was renamed to :ref:`gcp_spanner_database_info <gcp_spanner_database_info_module>`.
|
||||
* The ``gcp_spanner_instance_facts`` module was renamed to :ref:`gcp_spanner_instance_info <gcp_spanner_instance_info_module>`.
|
||||
* The ``gcp_sql_database_facts`` module was renamed to :ref:`gcp_sql_database_info <gcp_sql_database_info_module>`.
|
||||
* The ``gcp_sql_instance_facts`` module was renamed to :ref:`gcp_sql_instance_info <gcp_sql_instance_info_module>`.
|
||||
* The ``gcp_sql_user_facts`` module was renamed to :ref:`gcp_sql_user_info <gcp_sql_user_info_module>`.
|
||||
* The ``gcp_tpu_node_facts`` module was renamed to :ref:`gcp_tpu_node_info <gcp_tpu_node_info_module>`.
|
||||
* The ``iam_mfa_device_facts`` module was renamed to :ref:`iam_mfa_device_info <iam_mfa_device_info_module>`.
|
||||
* The ``iam_role_facts`` module was renamed to :ref:`iam_role_info <iam_role_info_module>`.
|
||||
* The ``iam_server_certificate_facts`` module was renamed to :ref:`iam_server_certificate_info <iam_server_certificate_info_module>`.
|
||||
|
|
1
lib/ansible/modules/cloud/google/_gcp_bigquery_dataset_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_bigquery_dataset_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_bigquery_dataset_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_bigquery_table_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_bigquery_table_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_bigquery_table_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_cloudbuild_trigger_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_compute_address_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_compute_address_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_compute_address_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_backend_bucket_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_backend_service_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_compute_disk_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_compute_disk_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_compute_disk_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_compute_firewall_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_compute_firewall_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_compute_firewall_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_forwarding_rule_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_global_address_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_global_forwarding_rule_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_health_check_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_http_health_check_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_https_health_check_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_compute_image_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_compute_image_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_compute_image_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_compute_instance_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_compute_instance_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_compute_instance_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_instance_group_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_instance_group_manager_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_instance_template_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_interconnect_attachment_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_compute_network_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_compute_network_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_compute_network_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_region_disk_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_compute_route_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_compute_route_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_compute_route_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_compute_router_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_compute_router_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_compute_router_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_ssl_certificate_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_ssl_policy_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_subnetwork_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_target_http_proxy_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_target_https_proxy_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_target_pool_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_target_ssl_proxy_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_target_tcp_proxy_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_target_vpn_gateway_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_compute_url_map_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_compute_url_map_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_compute_url_map_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_compute_vpn_tunnel_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_container_cluster_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_container_cluster_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_container_cluster_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_container_node_pool_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_dns_managed_zone_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_dns_managed_zone_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_dns_managed_zone_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_dns_resource_record_set_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_iam_role_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_iam_role_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_iam_role_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_iam_service_account_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_pubsub_subscription_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_pubsub_topic_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_pubsub_topic_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_pubsub_topic_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_redis_instance_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_redis_instance_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_redis_instance_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_resourcemanager_project_info.py
|
|
@ -0,0 +1 @@
|
|||
gcp_sourcerepo_repository_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_spanner_database_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_spanner_database_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_spanner_database_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_spanner_instance_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_spanner_instance_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_spanner_instance_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_sql_database_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_sql_database_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_sql_database_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_sql_instance_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_sql_instance_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_sql_instance_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_sql_user_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_sql_user_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_sql_user_info.py
|
1
lib/ansible/modules/cloud/google/_gcp_tpu_node_facts.py
Symbolic link
1
lib/ansible/modules/cloud/google/_gcp_tpu_node_facts.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
gcp_tpu_node_info.py
|
|
@ -29,10 +29,10 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_appengine_firewall_rule_facts
|
||||
module: gcp_appengine_firewall_rule_info
|
||||
description:
|
||||
- Gather facts for GCP FirewallRule
|
||||
short_description: Gather facts for GCP FirewallRule
|
||||
- Gather info for GCP FirewallRule
|
||||
short_description: Gather info for GCP FirewallRule
|
||||
version_added: 2.9
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -44,8 +44,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a firewall rule facts"
|
||||
gcp_appengine_firewall_rule_facts:
|
||||
- name: get info on a firewall rule
|
||||
gcp_appengine_firewall_rule_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
service_account_file: "/tmp/auth.pem"
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_bigquery_dataset_facts
|
||||
module: gcp_bigquery_dataset_info
|
||||
description:
|
||||
- Gather facts for GCP Dataset
|
||||
short_description: Gather facts for GCP Dataset
|
||||
- Gather info for GCP Dataset
|
||||
- This module was called C(gcp_bigquery_dataset_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Dataset
|
||||
version_added: 2.8
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -44,8 +46,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a dataset facts"
|
||||
gcp_bigquery_dataset_facts:
|
||||
- name: get info on a dataset
|
||||
gcp_bigquery_dataset_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
service_account_file: "/tmp/auth.pem"
|
||||
|
@ -200,6 +202,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_bigquery_table_facts
|
||||
module: gcp_bigquery_table_info
|
||||
description:
|
||||
- Gather facts for GCP Table
|
||||
short_description: Gather facts for GCP Table
|
||||
- Gather info for GCP Table
|
||||
- This module was called C(gcp_bigquery_table_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Table
|
||||
version_added: 2.8
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -49,8 +51,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a table facts"
|
||||
gcp_bigquery_table_facts:
|
||||
- name: get info on a table
|
||||
gcp_bigquery_table_info:
|
||||
dataset: example_dataset
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
@ -515,6 +517,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_cloudbuild_trigger_facts
|
||||
module: gcp_cloudbuild_trigger_info
|
||||
description:
|
||||
- Gather facts for GCP Trigger
|
||||
short_description: Gather facts for GCP Trigger
|
||||
- Gather info for GCP Trigger
|
||||
- This module was called C(gcp_cloudbuild_trigger_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Trigger
|
||||
version_added: 2.8
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -44,8 +46,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a trigger facts"
|
||||
gcp_cloudbuild_trigger_facts:
|
||||
- name: get info on a trigger
|
||||
gcp_cloudbuild_trigger_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
service_account_file: "/tmp/auth.pem"
|
||||
|
@ -316,6 +318,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||
|
|
@ -29,10 +29,10 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_cloudscheduler_job_facts
|
||||
module: gcp_cloudscheduler_job_info
|
||||
description:
|
||||
- Gather facts for GCP Job
|
||||
short_description: Gather facts for GCP Job
|
||||
- Gather info for GCP Job
|
||||
short_description: Gather info for GCP Job
|
||||
version_added: 2.9
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -49,8 +49,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a job facts"
|
||||
gcp_cloudscheduler_job_facts:
|
||||
- name: get info on a job
|
||||
gcp_cloudscheduler_job_info:
|
||||
region: us-central1
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
|
@ -29,10 +29,10 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_cloudtasks_queue_facts
|
||||
module: gcp_cloudtasks_queue_info
|
||||
description:
|
||||
- Gather facts for GCP Queue
|
||||
short_description: Gather facts for GCP Queue
|
||||
- Gather info for GCP Queue
|
||||
short_description: Gather info for GCP Queue
|
||||
version_added: 2.9
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -49,8 +49,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a queue facts"
|
||||
gcp_cloudtasks_queue_facts:
|
||||
- name: get info on a queue
|
||||
gcp_cloudtasks_queue_info:
|
||||
location: us-central1
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_address_facts
|
||||
module: gcp_compute_address_info
|
||||
description:
|
||||
- Gather facts for GCP Address
|
||||
short_description: Gather facts for GCP Address
|
||||
- Gather info for GCP Address
|
||||
- This module was called C(gcp_compute_address_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Address
|
||||
version_added: 2.7
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -56,8 +58,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a address facts"
|
||||
gcp_compute_address_facts:
|
||||
- name: get info on an address
|
||||
gcp_compute_address_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -151,6 +153,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,10 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_autoscaler_facts
|
||||
module: gcp_compute_autoscaler_info
|
||||
description:
|
||||
- Gather facts for GCP Autoscaler
|
||||
short_description: Gather facts for GCP Autoscaler
|
||||
- Gather info for GCP Autoscaler
|
||||
short_description: Gather info for GCP Autoscaler
|
||||
version_added: 2.9
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +55,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a autoscaler facts"
|
||||
gcp_compute_autoscaler_facts:
|
||||
- name: get info on an autoscaler
|
||||
gcp_compute_autoscaler_info:
|
||||
zone: us-central1-a
|
||||
filters:
|
||||
- name = test_object
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_backend_bucket_facts
|
||||
module: gcp_compute_backend_bucket_info
|
||||
description:
|
||||
- Gather facts for GCP BackendBucket
|
||||
short_description: Gather facts for GCP BackendBucket
|
||||
- Gather info for GCP BackendBucket
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a backend bucket facts"
|
||||
gcp_compute_backend_bucket_facts:
|
||||
- name: get info on a backend bucket
|
||||
gcp_compute_backend_bucket_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -134,6 +136,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_backend_service_facts
|
||||
module: gcp_compute_backend_service_info
|
||||
description:
|
||||
- Gather facts for GCP BackendService
|
||||
short_description: Gather facts for GCP BackendService
|
||||
- Gather info for GCP BackendService
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a backend service facts"
|
||||
gcp_compute_backend_service_facts:
|
||||
- name: get info on a backend service
|
||||
gcp_compute_backend_service_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -371,6 +373,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_disk_facts
|
||||
module: gcp_compute_disk_info
|
||||
description:
|
||||
- Gather facts for GCP Disk
|
||||
short_description: Gather facts for GCP Disk
|
||||
- Gather info for GCP Disk
|
||||
- This module was called C(gcp_compute_disk_facts) before Ansible 2.9. The usage has
|
||||
not changed.
|
||||
short_description: Gather info for GCP Disk
|
||||
version_added: 2.7
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a disk facts"
|
||||
gcp_compute_disk_facts:
|
||||
- name: get info on a disk
|
||||
gcp_compute_disk_info:
|
||||
zone: us-central1-a
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -294,6 +296,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_firewall_facts
|
||||
module: gcp_compute_firewall_info
|
||||
description:
|
||||
- Gather facts for GCP Firewall
|
||||
short_description: Gather facts for GCP Firewall
|
||||
- Gather info for GCP Firewall
|
||||
- This module was called C(gcp_compute_firewall_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Firewall
|
||||
version_added: 2.7
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a firewall facts"
|
||||
gcp_compute_firewall_facts:
|
||||
- name: get info on a firewall
|
||||
gcp_compute_firewall_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -250,6 +252,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_forwarding_rule_facts
|
||||
module: gcp_compute_forwarding_rule_info
|
||||
description:
|
||||
- Gather facts for GCP ForwardingRule
|
||||
short_description: Gather facts for GCP ForwardingRule
|
||||
- Gather info for GCP ForwardingRule
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -56,8 +58,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a forwarding rule facts"
|
||||
gcp_compute_forwarding_rule_facts:
|
||||
- name: get info on a forwarding rule
|
||||
gcp_compute_forwarding_rule_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -252,6 +254,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_global_address_facts
|
||||
module: gcp_compute_global_address_info
|
||||
description:
|
||||
- Gather facts for GCP GlobalAddress
|
||||
short_description: Gather facts for GCP GlobalAddress
|
||||
- Gather info for GCP GlobalAddress
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a global address facts"
|
||||
gcp_compute_global_address_facts:
|
||||
- name: get info on a global address
|
||||
gcp_compute_global_address_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -151,6 +153,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_global_forwarding_rule_facts
|
||||
module: gcp_compute_global_forwarding_rule_info
|
||||
description:
|
||||
- Gather facts for GCP GlobalForwardingRule
|
||||
short_description: Gather facts for GCP GlobalForwardingRule
|
||||
- Gather info for GCP GlobalForwardingRule
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a global forwarding rule facts"
|
||||
gcp_compute_global_forwarding_rule_facts:
|
||||
- name: get info on a global forwarding rule
|
||||
gcp_compute_global_forwarding_rule_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -181,6 +183,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_health_check_facts
|
||||
module: gcp_compute_health_check_info
|
||||
description:
|
||||
- Gather facts for GCP HealthCheck
|
||||
short_description: Gather facts for GCP HealthCheck
|
||||
- Gather info for GCP HealthCheck
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a health check facts"
|
||||
gcp_compute_health_check_facts:
|
||||
- name: get info on a health check
|
||||
gcp_compute_health_check_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -361,6 +363,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_http_health_check_facts
|
||||
module: gcp_compute_http_health_check_info
|
||||
description:
|
||||
- Gather facts for GCP HttpHealthCheck
|
||||
short_description: Gather facts for GCP HttpHealthCheck
|
||||
- Gather info for GCP HttpHealthCheck
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a http health check facts"
|
||||
gcp_compute_http_health_check_facts:
|
||||
- name: get info on an HTTP health check
|
||||
gcp_compute_http_health_check_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -151,6 +153,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_https_health_check_facts
|
||||
module: gcp_compute_https_health_check_info
|
||||
description:
|
||||
- Gather facts for GCP HttpsHealthCheck
|
||||
short_description: Gather facts for GCP HttpsHealthCheck
|
||||
- Gather info for GCP HttpsHealthCheck
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a https health check facts"
|
||||
gcp_compute_https_health_check_facts:
|
||||
- name: get info on an HTTPS health check
|
||||
gcp_compute_https_health_check_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -151,6 +153,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_image_facts
|
||||
module: gcp_compute_image_info
|
||||
description:
|
||||
- Gather facts for GCP Image
|
||||
short_description: Gather facts for GCP Image
|
||||
- Gather info for GCP Image
|
||||
- This module was called C(gcp_compute_image_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Image
|
||||
version_added: 2.7
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a image facts"
|
||||
gcp_compute_image_facts:
|
||||
- name: get info on an image
|
||||
gcp_compute_image_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -293,6 +295,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -319,10 +319,9 @@ options:
|
|||
type: str
|
||||
network:
|
||||
description:
|
||||
- Specifies the title of an existing network. When creating an instance, if
|
||||
neither the network nor the subnetwork is specified, the default network
|
||||
global/networks/default is used; if the network is not specified but the
|
||||
subnetwork is specified, the network is inferred.
|
||||
- Specifies the title of an existing network. Not setting the network title
|
||||
will select the default network interface, which could have SSH already
|
||||
configured.
|
||||
- 'This field represents a link to a Network resource in GCP. It can be specified
|
||||
in two ways. First, you can place a dictionary with key ''selfLink'' and
|
||||
value of your resource''s selfLink Alternatively, you can add `register:
|
||||
|
@ -787,10 +786,8 @@ networkInterfaces:
|
|||
type: str
|
||||
network:
|
||||
description:
|
||||
- Specifies the title of an existing network. When creating an instance, if
|
||||
neither the network nor the subnetwork is specified, the default network global/networks/default
|
||||
is used; if the network is not specified but the subnetwork is specified,
|
||||
the network is inferred.
|
||||
- Specifies the title of an existing network. Not setting the network title
|
||||
will select the default network interface, which could have SSH already configured.
|
||||
returned: success
|
||||
type: dict
|
||||
networkIP:
|
||||
|
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_instance_group_facts
|
||||
module: gcp_compute_instance_group_info
|
||||
description:
|
||||
- Gather facts for GCP InstanceGroup
|
||||
short_description: Gather facts for GCP InstanceGroup
|
||||
- Gather info for GCP InstanceGroup
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a instance group facts"
|
||||
gcp_compute_instance_group_facts:
|
||||
- name: get info on an instance group
|
||||
gcp_compute_instance_group_info:
|
||||
zone: us-central1-a
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -160,6 +162,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_instance_group_manager_facts
|
||||
module: gcp_compute_instance_group_manager_info
|
||||
description:
|
||||
- Gather facts for GCP InstanceGroupManager
|
||||
short_description: Gather facts for GCP InstanceGroupManager
|
||||
- Gather info for GCP InstanceGroupManager
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a instance group manager facts"
|
||||
gcp_compute_instance_group_manager_facts:
|
||||
- name: get info on an instance group manager
|
||||
gcp_compute_instance_group_manager_info:
|
||||
zone: us-west1-a
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -235,6 +237,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_instance_facts
|
||||
module: gcp_compute_instance_info
|
||||
description:
|
||||
- Gather facts for GCP Instance
|
||||
short_description: Gather facts for GCP Instance
|
||||
- Gather info for GCP Instance
|
||||
- This module was called C(gcp_compute_instance_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Instance
|
||||
version_added: 2.7
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a instance facts"
|
||||
gcp_compute_instance_facts:
|
||||
- name: get info on an instance
|
||||
gcp_compute_instance_info:
|
||||
zone: us-central1-a
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -488,6 +490,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_instance_template_facts
|
||||
module: gcp_compute_instance_template_info
|
||||
description:
|
||||
- Gather facts for GCP InstanceTemplate
|
||||
short_description: Gather facts for GCP InstanceTemplate
|
||||
- Gather info for GCP InstanceTemplate
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a instance template facts"
|
||||
gcp_compute_instance_template_facts:
|
||||
- name: get info on an instance template
|
||||
gcp_compute_instance_template_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -480,6 +482,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_interconnect_attachment_facts
|
||||
module: gcp_compute_interconnect_attachment_info
|
||||
description:
|
||||
- Gather facts for GCP InterconnectAttachment
|
||||
short_description: Gather facts for GCP InterconnectAttachment
|
||||
- Gather info for GCP InterconnectAttachment
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a interconnect attachment facts"
|
||||
gcp_compute_interconnect_attachment_facts:
|
||||
- name: get info on an interconnect attachment
|
||||
gcp_compute_interconnect_attachment_info:
|
||||
region: us-central1
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -215,6 +217,11 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_network_facts
|
||||
module: gcp_compute_network_info
|
||||
description:
|
||||
- Gather facts for GCP Network
|
||||
short_description: Gather facts for GCP Network
|
||||
- Gather info for GCP Network
|
||||
- This module was called C(gcp_compute_network_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Network
|
||||
version_added: 2.7
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a network facts"
|
||||
gcp_compute_network_facts:
|
||||
- name: get info on a network
|
||||
gcp_compute_network_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -154,6 +156,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_region_disk_facts
|
||||
module: gcp_compute_region_disk_info
|
||||
description:
|
||||
- Gather facts for GCP RegionDisk
|
||||
short_description: Gather facts for GCP RegionDisk
|
||||
- Gather info for GCP RegionDisk
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a region disk facts"
|
||||
gcp_compute_region_disk_facts:
|
||||
- name: get info on a region disk
|
||||
gcp_compute_region_disk_info:
|
||||
region: us-central1
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -240,6 +242,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_route_facts
|
||||
module: gcp_compute_route_info
|
||||
description:
|
||||
- Gather facts for GCP Route
|
||||
short_description: Gather facts for GCP Route
|
||||
- Gather info for GCP Route
|
||||
- This module was called C(gcp_compute_route_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Route
|
||||
version_added: 2.7
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a route facts"
|
||||
gcp_compute_route_facts:
|
||||
- name: get info on a route
|
||||
gcp_compute_route_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -154,6 +156,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_router_facts
|
||||
module: gcp_compute_router_info
|
||||
description:
|
||||
- Gather facts for GCP Router
|
||||
short_description: Gather facts for GCP Router
|
||||
- Gather info for GCP Router
|
||||
- This module was called C(gcp_compute_router_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Router
|
||||
version_added: 2.7
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a router facts"
|
||||
gcp_compute_router_facts:
|
||||
- name: get info on a router
|
||||
gcp_compute_router_info:
|
||||
region: us-central1
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -170,6 +172,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_ssl_certificate_facts
|
||||
module: gcp_compute_ssl_certificate_info
|
||||
description:
|
||||
- Gather facts for GCP SslCertificate
|
||||
short_description: Gather facts for GCP SslCertificate
|
||||
- Gather info for GCP SslCertificate
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a ssl certificate facts"
|
||||
gcp_compute_ssl_certificate_facts:
|
||||
- name: get info on an SSL certificate
|
||||
gcp_compute_ssl_certificate_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -118,6 +120,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_ssl_policy_facts
|
||||
module: gcp_compute_ssl_policy_info
|
||||
description:
|
||||
- Gather facts for GCP SslPolicy
|
||||
short_description: Gather facts for GCP SslPolicy
|
||||
- Gather info for GCP SslPolicy
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a ssl policy facts"
|
||||
gcp_compute_ssl_policy_facts:
|
||||
- name: get info on an SSL policy
|
||||
gcp_compute_ssl_policy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -156,6 +158,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_subnetwork_facts
|
||||
module: gcp_compute_subnetwork_info
|
||||
description:
|
||||
- Gather facts for GCP Subnetwork
|
||||
short_description: Gather facts for GCP Subnetwork
|
||||
- Gather info for GCP Subnetwork
|
||||
- This module was called C(gcp_compute_subnetwork_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Subnetwork
|
||||
version_added: 2.7
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a subnetwork facts"
|
||||
gcp_compute_subnetwork_facts:
|
||||
- name: get info on a subnetwork
|
||||
gcp_compute_subnetwork_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -179,6 +181,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_target_http_proxy_facts
|
||||
module: gcp_compute_target_http_proxy_info
|
||||
description:
|
||||
- Gather facts for GCP TargetHttpProxy
|
||||
short_description: Gather facts for GCP TargetHttpProxy
|
||||
- Gather info for GCP TargetHttpProxy
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a target http proxy facts"
|
||||
gcp_compute_target_http_proxy_facts:
|
||||
- name: get info on a target HTTP proxy
|
||||
gcp_compute_target_http_proxy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -112,6 +114,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_target_https_proxy_facts
|
||||
module: gcp_compute_target_https_proxy_info
|
||||
description:
|
||||
- Gather facts for GCP TargetHttpsProxy
|
||||
short_description: Gather facts for GCP TargetHttpsProxy
|
||||
- Gather info for GCP TargetHttpsProxy
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a target https proxy facts"
|
||||
gcp_compute_target_https_proxy_facts:
|
||||
- name: get info on a target HTTPS proxy
|
||||
gcp_compute_target_https_proxy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -135,6 +137,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_target_pool_facts
|
||||
module: gcp_compute_target_pool_info
|
||||
description:
|
||||
- Gather facts for GCP TargetPool
|
||||
short_description: Gather facts for GCP TargetPool
|
||||
- Gather info for GCP TargetPool
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a target pool facts"
|
||||
gcp_compute_target_pool_facts:
|
||||
- name: get info on a target pool
|
||||
gcp_compute_target_pool_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -171,6 +173,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_target_ssl_proxy_facts
|
||||
module: gcp_compute_target_ssl_proxy_info
|
||||
description:
|
||||
- Gather facts for GCP TargetSslProxy
|
||||
short_description: Gather facts for GCP TargetSslProxy
|
||||
- Gather info for GCP TargetSslProxy
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a target ssl proxy facts"
|
||||
gcp_compute_target_ssl_proxy_facts:
|
||||
- name: get info on a target SSL proxy
|
||||
gcp_compute_target_ssl_proxy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -131,6 +133,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_target_tcp_proxy_facts
|
||||
module: gcp_compute_target_tcp_proxy_info
|
||||
description:
|
||||
- Gather facts for GCP TargetTcpProxy
|
||||
short_description: Gather facts for GCP TargetTcpProxy
|
||||
- Gather info for GCP TargetTcpProxy
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a target tcp proxy facts"
|
||||
gcp_compute_target_tcp_proxy_facts:
|
||||
- name: get info on a target TCP proxy
|
||||
gcp_compute_target_tcp_proxy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -117,6 +119,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_target_vpn_gateway_facts
|
||||
module: gcp_compute_target_vpn_gateway_info
|
||||
description:
|
||||
- Gather facts for GCP TargetVpnGateway
|
||||
short_description: Gather facts for GCP TargetVpnGateway
|
||||
- Gather info for GCP TargetVpnGateway
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a target vpn gateway facts"
|
||||
gcp_compute_target_vpn_gateway_facts:
|
||||
- name: get info on a target VPN gateway
|
||||
gcp_compute_target_vpn_gateway_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -133,6 +135,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_url_map_facts
|
||||
module: gcp_compute_url_map_info
|
||||
description:
|
||||
- Gather facts for GCP UrlMap
|
||||
short_description: Gather facts for GCP UrlMap
|
||||
- Gather info for GCP UrlMap
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -50,8 +52,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a url map facts"
|
||||
gcp_compute_url_map_facts:
|
||||
- name: get info on a URL map
|
||||
gcp_compute_url_map_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
project: test_project
|
||||
|
@ -213,6 +215,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_compute_vpn_tunnel_facts
|
||||
module: gcp_compute_vpn_tunnel_info
|
||||
description:
|
||||
- Gather facts for GCP VpnTunnel
|
||||
short_description: Gather facts for GCP VpnTunnel
|
||||
- Gather info for GCP VpnTunnel
|
||||
- This module was called C(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
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -55,8 +57,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a vpn tunnel facts"
|
||||
gcp_compute_vpn_tunnel_facts:
|
||||
- name: get info on a VPN tunnel
|
||||
gcp_compute_vpn_tunnel_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
- name = test_object
|
||||
|
@ -160,6 +162,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_container_cluster_facts
|
||||
module: gcp_container_cluster_info
|
||||
description:
|
||||
- Gather facts for GCP Cluster
|
||||
short_description: Gather facts for GCP Cluster
|
||||
- Gather info for GCP Cluster
|
||||
- This module was called C(gcp_container_cluster_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP Cluster
|
||||
version_added: 2.8
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -53,8 +55,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a cluster facts"
|
||||
gcp_container_cluster_facts:
|
||||
- name: get info on a cluster
|
||||
gcp_container_cluster_info:
|
||||
location: us-central1-a
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
@ -578,6 +580,9 @@ import json
|
|||
def main():
|
||||
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']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_container_node_pool_facts
|
||||
module: gcp_container_node_pool_info
|
||||
description:
|
||||
- Gather facts for GCP NodePool
|
||||
short_description: Gather facts for GCP NodePool
|
||||
- Gather info for GCP NodePool
|
||||
- This module was called C(gcp_container_node_pool_facts) before Ansible 2.9. The
|
||||
usage has not changed.
|
||||
short_description: Gather info for GCP NodePool
|
||||
version_added: 2.8
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -63,8 +65,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a node pool facts"
|
||||
gcp_container_node_pool_facts:
|
||||
- name: get info on a node pool
|
||||
gcp_container_node_pool_info:
|
||||
cluster: "{{ cluster }}"
|
||||
location: us-central1-a
|
||||
project: test_project
|
||||
|
@ -363,6 +365,9 @@ import json
|
|||
def main():
|
||||
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone']), cluster=dict(required=True, type='dict')))
|
||||
|
||||
if module._name == 'gcp_container_node_pool_facts':
|
||||
module.deprecate("The 'gcp_container_node_pool_facts' module has been renamed to 'gcp_container_node_pool_info'", version='2.13')
|
||||
|
||||
if not module.params['scopes']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_dns_managed_zone_facts
|
||||
module: gcp_dns_managed_zone_info
|
||||
description:
|
||||
- Gather facts for GCP ManagedZone
|
||||
short_description: Gather facts for GCP ManagedZone
|
||||
- Gather info for GCP ManagedZone
|
||||
- This module was called C(gcp_dns_managed_zone_facts) before Ansible 2.9. The usage
|
||||
has not changed.
|
||||
short_description: Gather info for GCP ManagedZone
|
||||
version_added: 2.8
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -48,8 +50,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a managed zone facts"
|
||||
gcp_dns_managed_zone_facts:
|
||||
- name: get info on a managed zone
|
||||
gcp_dns_managed_zone_info:
|
||||
dns_name: test.somewild2.example.com.
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
@ -206,6 +208,9 @@ import json
|
|||
def main():
|
||||
module = GcpModule(argument_spec=dict(dns_name=dict(type='list', elements='str')))
|
||||
|
||||
if module._name == 'gcp_dns_managed_zone_facts':
|
||||
module.deprecate("The 'gcp_dns_managed_zone_facts' module has been renamed to 'gcp_dns_managed_zone_info'", version='2.13')
|
||||
|
||||
if not module.params['scopes']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/ndev.clouddns.readwrite']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_dns_resource_record_set_facts
|
||||
module: gcp_dns_resource_record_set_info
|
||||
description:
|
||||
- Gather facts for GCP ResourceRecordSet
|
||||
short_description: Gather facts for GCP ResourceRecordSet
|
||||
- Gather info for GCP ResourceRecordSet
|
||||
- This module was called C(gcp_dns_resource_record_set_facts) before Ansible 2.9.
|
||||
The usage has not changed.
|
||||
short_description: Gather info for GCP ResourceRecordSet
|
||||
version_added: 2.8
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -54,8 +56,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a resource record set facts"
|
||||
gcp_dns_resource_record_set_facts:
|
||||
- name: get info on a resource record set
|
||||
gcp_dns_resource_record_set_info:
|
||||
managed_zone: "{{ managed_zone }}"
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
@ -109,6 +111,9 @@ import json
|
|||
def main():
|
||||
module = GcpModule(argument_spec=dict(managed_zone=dict(required=True, type='dict')))
|
||||
|
||||
if module._name == 'gcp_dns_resource_record_set_facts':
|
||||
module.deprecate("The 'gcp_dns_resource_record_set_facts' module has been renamed to 'gcp_dns_resource_record_set_info'", version='2.13')
|
||||
|
||||
if not module.params['scopes']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/ndev.clouddns.readwrite']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_iam_role_facts
|
||||
module: gcp_iam_role_info
|
||||
description:
|
||||
- Gather facts for GCP Role
|
||||
short_description: Gather facts for GCP Role
|
||||
- Gather info for GCP Role
|
||||
- This module was called C(gcp_iam_role_facts) before Ansible 2.9. The usage has not
|
||||
changed.
|
||||
short_description: Gather info for GCP Role
|
||||
version_added: 2.8
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -44,8 +46,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a role facts"
|
||||
gcp_iam_role_facts:
|
||||
- name: get info on a role
|
||||
gcp_iam_role_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
service_account_file: "/tmp/auth.pem"
|
||||
|
@ -104,6 +106,9 @@ import json
|
|||
def main():
|
||||
module = GcpModule(argument_spec=dict())
|
||||
|
||||
if module._name == 'gcp_iam_role_facts':
|
||||
module.deprecate("The 'gcp_iam_role_facts' module has been renamed to 'gcp_iam_role_info'", version='2.13')
|
||||
|
||||
if not module.params['scopes']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/iam']
|
||||
|
|
@ -29,10 +29,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ["preview"], 'supported
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: gcp_iam_service_account_facts
|
||||
module: gcp_iam_service_account_info
|
||||
description:
|
||||
- Gather facts for GCP ServiceAccount
|
||||
short_description: Gather facts for GCP ServiceAccount
|
||||
- Gather info for GCP ServiceAccount
|
||||
- This module was called C(gcp_iam_service_account_facts) before Ansible 2.9. The
|
||||
usage has not changed.
|
||||
short_description: Gather info for GCP ServiceAccount
|
||||
version_added: 2.8
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
|
@ -44,8 +46,8 @@ extends_documentation_fragment: gcp
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: " a service account facts"
|
||||
gcp_iam_service_account_facts:
|
||||
- name: get info on a service account
|
||||
gcp_iam_service_account_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
service_account_file: "/tmp/auth.pem"
|
||||
|
@ -103,6 +105,9 @@ import json
|
|||
def main():
|
||||
module = GcpModule(argument_spec=dict())
|
||||
|
||||
if module._name == 'gcp_iam_service_account_facts':
|
||||
module.deprecate("The 'gcp_iam_service_account_facts' module has been renamed to 'gcp_iam_service_account_info'", version='2.13')
|
||||
|
||||
if not module.params['scopes']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/iam']
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue