Backport doc changes from facts->info change (#341)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-08-09 15:25:26 -07:00 committed by Alex Stephen
commit 1c89350d77
42 changed files with 107 additions and 107 deletions

View file

@ -22,7 +22,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: instancegroup
- name: create a http health check
- name: create a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-backendservice
healthy_threshold: 10
@ -149,7 +149,7 @@
#---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
- name: delete a http health check
- name: delete a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-backendservice
healthy_threshold: 10

View file

@ -30,7 +30,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: instancegroup
- name: create a http health check
- name: create a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-globalforwardingrule
healthy_threshold: 10
@ -55,7 +55,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: backendservice
- name: create a url map
- name: create a URL map
gcp_compute_url_map:
name: urlmap-globalforwardingrule
default_service: "{{ backendservice }}"
@ -64,7 +64,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: urlmap
- name: create a target http proxy
- name: create a target HTTP proxy
gcp_compute_target_http_proxy:
name: targethttpproxy-globalforwardingrule
url_map: "{{ urlmap }}"
@ -183,7 +183,7 @@
#---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
- name: delete a target http proxy
- name: delete a target HTTP proxy
gcp_compute_target_http_proxy:
name: targethttpproxy-globalforwardingrule
url_map: "{{ urlmap }}"
@ -193,7 +193,7 @@
state: absent
register: httpproxy
ignore_errors: true
- name: delete a url map
- name: delete a URL map
gcp_compute_url_map:
name: urlmap-globalforwardingrule
default_service: "{{ backendservice }}"
@ -217,7 +217,7 @@
state: absent
register: backendservice
ignore_errors: true
- name: delete a http health check
- name: delete a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-globalforwardingrule
healthy_threshold: 10

View file

@ -13,7 +13,7 @@
#
# ----------------------------------------------------------------------------
# Pre-test setup
- name: delete a http health check
- name: delete a HTTP health check
gcp_compute_http_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10
@ -25,7 +25,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
- name: create a http health check
- name: create a HTTP health check
gcp_compute_http_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10
@ -56,7 +56,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a http health check that already exists
- name: create a HTTP health check that already exists
gcp_compute_http_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10
@ -73,7 +73,7 @@
that:
- result.changed == false
#----------------------------------------------------------
- name: delete a http health check
- name: delete a HTTP health check
gcp_compute_http_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10
@ -104,7 +104,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a http health check that does not exist
- name: delete a HTTP health check that does not exist
gcp_compute_http_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10

View file

@ -13,7 +13,7 @@
#
# ----------------------------------------------------------------------------
# Pre-test setup
- name: delete a https health check
- name: delete a HTTPS health check
gcp_compute_https_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10
@ -25,7 +25,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
- name: create a https health check
- name: create a HTTPS health check
gcp_compute_https_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10
@ -56,7 +56,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a https health check that already exists
- name: create a HTTPS health check that already exists
gcp_compute_https_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10
@ -73,7 +73,7 @@
that:
- result.changed == false
#----------------------------------------------------------
- name: delete a https health check
- name: delete a HTTPS health check
gcp_compute_https_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10
@ -104,7 +104,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a https health check that does not exist
- name: delete a HTTPS health check that does not exist
gcp_compute_https_health_check:
name: "{{ resource_name }}"
healthy_threshold: 10

View file

@ -13,7 +13,7 @@
#
# ----------------------------------------------------------------------------
# Pre-test setup
- name: delete a ssl certificate
- name: delete a SSL certificate
gcp_compute_ssl_certificate:
name: "{{ resource_name }}"
description: A certificate for testing. Do not use this certificate in production
@ -46,7 +46,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
- name: create a ssl certificate
- name: create a SSL certificate
gcp_compute_ssl_certificate:
name: "{{ resource_name }}"
description: A certificate for testing. Do not use this certificate in production
@ -98,7 +98,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a ssl certificate that already exists
- name: create a SSL certificate that already exists
gcp_compute_ssl_certificate:
name: "{{ resource_name }}"
description: A certificate for testing. Do not use this certificate in production
@ -136,7 +136,7 @@
that:
- result.changed == false
#----------------------------------------------------------
- name: delete a ssl certificate
- name: delete a SSL certificate
gcp_compute_ssl_certificate:
name: "{{ resource_name }}"
description: A certificate for testing. Do not use this certificate in production
@ -188,7 +188,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a ssl certificate that does not exist
- name: delete a SSL certificate that does not exist
gcp_compute_ssl_certificate:
name: "{{ resource_name }}"
description: A certificate for testing. Do not use this certificate in production

View file

@ -13,7 +13,7 @@
#
# ----------------------------------------------------------------------------
# Pre-test setup
- name: delete a ssl policy
- name: delete a SSL policy
gcp_compute_ssl_policy:
name: "{{ resource_name }}"
profile: CUSTOM
@ -26,7 +26,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
- name: create a ssl policy
- name: create a SSL policy
gcp_compute_ssl_policy:
name: "{{ resource_name }}"
profile: CUSTOM
@ -58,7 +58,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a ssl policy that already exists
- name: create a SSL policy that already exists
gcp_compute_ssl_policy:
name: "{{ resource_name }}"
profile: CUSTOM
@ -76,7 +76,7 @@
that:
- result.changed == false
#----------------------------------------------------------
- name: delete a ssl policy
- name: delete a SSL policy
gcp_compute_ssl_policy:
name: "{{ resource_name }}"
profile: CUSTOM
@ -108,7 +108,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a ssl policy that does not exist
- name: delete a SSL policy that does not exist
gcp_compute_ssl_policy:
name: "{{ resource_name }}"
profile: CUSTOM

View file

@ -22,7 +22,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: instancegroup
- name: create a http health check
- name: create a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-targethttpproxy
healthy_threshold: 10
@ -47,7 +47,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: backendservice
- name: create a url map
- name: create a URL map
gcp_compute_url_map:
name: urlmap-targethttpproxy
default_service: "{{ backendservice }}"
@ -56,7 +56,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: urlmap
- name: delete a target http proxy
- name: delete a target HTTP proxy
gcp_compute_target_http_proxy:
name: "{{ resource_name }}"
url_map: "{{ urlmap }}"
@ -65,7 +65,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
- name: create a target http proxy
- name: create a target HTTP proxy
gcp_compute_target_http_proxy:
name: "{{ resource_name }}"
url_map: "{{ urlmap }}"
@ -93,7 +93,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a target http proxy that already exists
- name: create a target HTTP proxy that already exists
gcp_compute_target_http_proxy:
name: "{{ resource_name }}"
url_map: "{{ urlmap }}"
@ -107,7 +107,7 @@
that:
- result.changed == false
#----------------------------------------------------------
- name: delete a target http proxy
- name: delete a target HTTP proxy
gcp_compute_target_http_proxy:
name: "{{ resource_name }}"
url_map: "{{ urlmap }}"
@ -135,7 +135,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a target http proxy that does not exist
- name: delete a target HTTP proxy that does not exist
gcp_compute_target_http_proxy:
name: "{{ resource_name }}"
url_map: "{{ urlmap }}"
@ -151,7 +151,7 @@
#---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
- name: delete a url map
- name: delete a URL map
gcp_compute_url_map:
name: urlmap-targethttpproxy
default_service: "{{ backendservice }}"
@ -175,7 +175,7 @@
state: absent
register: backendservice
ignore_errors: true
- name: delete a http health check
- name: delete a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-targethttpproxy
healthy_threshold: 10

View file

@ -22,7 +22,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: instancegroup
- name: create a http health check
- name: create a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-targethttpsproxy
healthy_threshold: 10
@ -47,7 +47,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: backendservice
- name: create a url map
- name: create a URL map
gcp_compute_url_map:
name: urlmap-targethttpsproxy
default_service: "{{ backendservice }}"
@ -56,7 +56,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: urlmap
- name: create a ssl certificate
- name: create a SSL certificate
gcp_compute_ssl_certificate:
name: sslcert-targethttpsproxy
description: A certificate for testing. Do not use this certificate in production
@ -89,7 +89,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: sslcert
- name: delete a target https proxy
- name: delete a target HTTPS proxy
gcp_compute_target_https_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -100,7 +100,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
- name: create a target https proxy
- name: create a target HTTPS proxy
gcp_compute_target_https_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -130,7 +130,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a target https proxy that already exists
- name: create a target HTTPS proxy that already exists
gcp_compute_target_https_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -146,7 +146,7 @@
that:
- result.changed == false
#----------------------------------------------------------
- name: delete a target https proxy
- name: delete a target HTTPS proxy
gcp_compute_target_https_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -176,7 +176,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a target https proxy that does not exist
- name: delete a target HTTPS proxy that does not exist
gcp_compute_target_https_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -194,7 +194,7 @@
#---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
- name: delete a ssl certificate
- name: delete a SSL certificate
gcp_compute_ssl_certificate:
name: sslcert-targethttpsproxy
description: A certificate for testing. Do not use this certificate in production
@ -228,7 +228,7 @@
state: absent
register: sslcert
ignore_errors: true
- name: delete a url map
- name: delete a URL map
gcp_compute_url_map:
name: urlmap-targethttpsproxy
default_service: "{{ backendservice }}"
@ -252,7 +252,7 @@
state: absent
register: backendservice
ignore_errors: true
- name: delete a http health check
- name: delete a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-targethttpsproxy
healthy_threshold: 10

View file

@ -51,7 +51,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: backendservice
- name: create a ssl certificate
- name: create a SSL certificate
gcp_compute_ssl_certificate:
name: sslcert-targetsslproxy
description: A certificate for testing. Do not use this certificate in production
@ -84,7 +84,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: sslcert
- name: delete a target ssl proxy
- name: delete a target SSL proxy
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -95,7 +95,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
- name: create a target ssl proxy
- name: create a target SSL proxy
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -125,7 +125,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a target ssl proxy that already exists
- name: create a target SSL proxy that already exists
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -141,7 +141,7 @@
that:
- result.changed == false
#----------------------------------------------------------
- name: delete a target ssl proxy
- name: delete a target SSL proxy
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -171,7 +171,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a target ssl proxy that does not exist
- name: delete a target SSL proxy that does not exist
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@ -189,7 +189,7 @@
#---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
- name: delete a ssl certificate
- name: delete a SSL certificate
gcp_compute_ssl_certificate:
name: sslcert-targetsslproxy
description: A certificate for testing. Do not use this certificate in production

View file

@ -51,7 +51,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: backendservice
- name: delete a target tcp proxy
- name: delete a target TCP proxy
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1
@ -61,7 +61,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
- name: create a target tcp proxy
- name: create a target TCP proxy
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1
@ -90,7 +90,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a target tcp proxy that already exists
- name: create a target TCP proxy that already exists
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1
@ -105,7 +105,7 @@
that:
- result.changed == false
#----------------------------------------------------------
- name: delete a target tcp proxy
- name: delete a target TCP proxy
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1
@ -134,7 +134,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a target tcp proxy that does not exist
- name: delete a target TCP proxy that does not exist
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1

View file

@ -22,7 +22,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: instancegroup
- name: create a http health check
- name: create a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-urlmap
healthy_threshold: 10
@ -47,7 +47,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: backendservice
- name: delete a url map
- name: delete a URL map
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@ -56,7 +56,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
- name: create a url map
- name: create a URL map
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@ -84,7 +84,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a url map that already exists
- name: create a URL map that already exists
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@ -98,7 +98,7 @@
that:
- result.changed == false
#----------------------------------------------------------
- name: delete a url map
- name: delete a URL map
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@ -126,7 +126,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a url map that does not exist
- name: delete a URL map that does not exist
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@ -156,7 +156,7 @@
state: absent
register: backendservice
ignore_errors: true
- name: delete a http health check
- name: delete a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-urlmap
healthy_threshold: 10