Bug fixes for GCP modules (#60090)

pull/60098/merge
The Magician 5 years ago committed by ansibot
parent fcc869ab7a
commit 8241fd88de

@ -62,7 +62,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -56,7 +56,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -62,7 +62,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -56,7 +56,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -56,7 +56,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -62,7 +62,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -56,7 +56,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -56,7 +56,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -62,7 +62,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -56,7 +56,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -56,7 +56,6 @@ EXAMPLES = '''
project: test_project project: test_project
auth_kind: serviceaccount auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem" service_account_file: "/tmp/auth.pem"
state: facts
''' '''
RETURN = ''' RETURN = '''

@ -47,7 +47,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#disk'"
- name: verify that region_disk was created - name: verify that region_disk was created
gcp_compute_region_disk_facts: gcp_compute_region_disk_facts:
filters: filters:
@ -83,7 +82,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#disk'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a region disk - name: delete a region disk
gcp_compute_region_disk: gcp_compute_region_disk:

@ -53,7 +53,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#route'"
- name: verify that route was created - name: verify that route was created
gcp_compute_route_facts: gcp_compute_route_facts:
filters: filters:
@ -87,7 +86,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#route'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a route - name: delete a route
gcp_compute_route: gcp_compute_route:

@ -61,7 +61,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#router'"
- name: verify that router was created - name: verify that router was created
gcp_compute_router_facts: gcp_compute_router_facts:
filters: filters:
@ -100,7 +99,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#router'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a router - name: delete a router
gcp_compute_router: gcp_compute_router:

@ -83,7 +83,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#sslCertificate'"
- name: verify that ssl_certificate was created - name: verify that ssl_certificate was created
gcp_compute_ssl_certificate_facts: gcp_compute_ssl_certificate_facts:
filters: filters:
@ -136,7 +135,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#sslCertificate'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a ssl certificate - name: delete a ssl certificate
gcp_compute_ssl_certificate: gcp_compute_ssl_certificate:

@ -43,7 +43,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#sslPolicy'"
- name: verify that ssl_policy was created - name: verify that ssl_policy was created
gcp_compute_ssl_policy_facts: gcp_compute_ssl_policy_facts:
filters: filters:
@ -76,7 +75,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#sslPolicy'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a ssl policy - name: delete a ssl policy
gcp_compute_ssl_policy: gcp_compute_ssl_policy:

@ -48,7 +48,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#subnetwork'"
- name: verify that subnetwork was created - name: verify that subnetwork was created
gcp_compute_subnetwork_facts: gcp_compute_subnetwork_facts:
filters: filters:
@ -80,7 +79,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#subnetwork'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a subnetwork - name: delete a subnetwork
gcp_compute_subnetwork: gcp_compute_subnetwork:

@ -78,7 +78,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#targetHttpProxy'"
- name: verify that target_http_proxy was created - name: verify that target_http_proxy was created
gcp_compute_target_http_proxy_facts: gcp_compute_target_http_proxy_facts:
filters: filters:
@ -107,7 +106,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#targetHttpProxy'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a target http proxy - name: delete a target http proxy
gcp_compute_target_http_proxy: gcp_compute_target_http_proxy:

@ -115,7 +115,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#targetHttpsProxy'"
- name: verify that target_https_proxy was created - name: verify that target_https_proxy was created
gcp_compute_target_https_proxy_facts: gcp_compute_target_https_proxy_facts:
filters: filters:
@ -146,7 +145,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#targetHttpsProxy'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a target https proxy - name: delete a target https proxy
gcp_compute_target_https_proxy: gcp_compute_target_https_proxy:

@ -35,7 +35,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#targetPool'"
- name: verify that target_pool was created - name: verify that target_pool was created
gcp_compute_target_pool_facts: gcp_compute_target_pool_facts:
filters: filters:
@ -65,7 +64,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#targetPool'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a target pool - name: delete a target pool
gcp_compute_target_pool: gcp_compute_target_pool:

@ -110,7 +110,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#targetSslProxy'"
- name: verify that target_ssl_proxy was created - name: verify that target_ssl_proxy was created
gcp_compute_target_ssl_proxy_facts: gcp_compute_target_ssl_proxy_facts:
filters: filters:
@ -141,7 +140,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#targetSslProxy'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a target ssl proxy - name: delete a target ssl proxy
gcp_compute_target_ssl_proxy: gcp_compute_target_ssl_proxy:

@ -75,7 +75,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#targetTcpProxy'"
- name: verify that target_tcp_proxy was created - name: verify that target_tcp_proxy was created
gcp_compute_target_tcp_proxy_facts: gcp_compute_target_tcp_proxy_facts:
filters: filters:
@ -105,7 +104,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#targetTcpProxy'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a target tcp proxy - name: delete a target tcp proxy
gcp_compute_target_tcp_proxy: gcp_compute_target_tcp_proxy:

@ -54,7 +54,6 @@
assert: assert:
that: that:
- result.changed == true - result.changed == true
- "result.kind == 'compute#targetVpnGateway'"
- name: verify that target_vpn_gateway was created - name: verify that target_vpn_gateway was created
gcp_compute_target_vpn_gateway_facts: gcp_compute_target_vpn_gateway_facts:
filters: filters:
@ -85,7 +84,6 @@
assert: assert:
that: that:
- result.changed == false - result.changed == false
- "result.kind == 'compute#targetVpnGateway'"
#---------------------------------------------------------- #----------------------------------------------------------
- name: delete a target vpn gateway - name: delete a target vpn gateway
gcp_compute_target_vpn_gateway: gcp_compute_target_vpn_gateway:

Loading…
Cancel
Save