Bug fixes for GCP modules (#60088)

pull/60092/merge
The Magician 5 years ago committed by ansibot
parent b446ca100f
commit c1a99c390c

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

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

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

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

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

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

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

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

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

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

@ -37,7 +37,6 @@
assert:
that:
- result.changed == true
- "result.kind == 'bigquery#dataset'"
- name: verify that dataset was created
gcp_bigquery_dataset_facts:
project: "{{ gcp_project }}"
@ -65,7 +64,6 @@
assert:
that:
- result.changed == false
- "result.kind == 'bigquery#dataset'"
#----------------------------------------------------------
- name: delete a dataset
gcp_bigquery_dataset:

@ -53,7 +53,6 @@
assert:
that:
- result.changed == true
- "result.kind == 'bigquery#table'"
- name: verify that table was created
gcp_bigquery_table_facts:
dataset: example_dataset
@ -85,7 +84,6 @@
assert:
that:
- result.changed == false
- "result.kind == 'bigquery#table'"
#----------------------------------------------------------
- name: delete a table
gcp_bigquery_table:

@ -35,7 +35,6 @@
assert:
that:
- result.changed == true
- "result.kind == 'compute#address'"
- name: verify that address was created
gcp_compute_address_facts:
filters:
@ -65,7 +64,6 @@
assert:
that:
- result.changed == false
- "result.kind == 'compute#address'"
#----------------------------------------------------------
- name: delete a address
gcp_compute_address:

@ -47,7 +47,6 @@
assert:
that:
- result.changed == true
- "result.kind == 'compute#backendBucket'"
- name: verify that backend_bucket was created
gcp_compute_backend_bucket_facts:
filters:
@ -78,7 +77,6 @@
assert:
that:
- result.changed == false
- "result.kind == 'compute#backendBucket'"
#----------------------------------------------------------
- name: delete a backend bucket
gcp_compute_backend_bucket:

@ -64,7 +64,6 @@
assert:
that:
- result.changed == true
- "result.kind == 'compute#backendService'"
- name: verify that backend_service was created
gcp_compute_backend_service_facts:
filters:
@ -97,7 +96,6 @@
assert:
that:
- result.changed == false
- "result.kind == 'compute#backendService'"
#----------------------------------------------------------
- name: delete a backend service
gcp_compute_backend_service:

@ -41,7 +41,6 @@
assert:
that:
- result.changed == true
- "result.kind == 'compute#disk'"
- name: verify that disk was created
gcp_compute_disk_facts:
filters:
@ -74,7 +73,6 @@
assert:
that:
- result.changed == false
- "result.kind == 'compute#disk'"
#----------------------------------------------------------
- name: delete a disk
gcp_compute_disk:

@ -51,7 +51,6 @@
assert:
that:
- result.changed == true
- "result.kind == 'compute#firewall'"
- name: verify that firewall was created
gcp_compute_firewall_facts:
filters:
@ -88,7 +87,6 @@
assert:
that:
- result.changed == false
- "result.kind == 'compute#firewall'"
#----------------------------------------------------------
- name: delete a firewall
gcp_compute_firewall:

@ -61,7 +61,6 @@
assert:
that:
- result.changed == true
- "result.kind == 'compute#forwardingRule'"
- name: verify that forwarding_rule was created
gcp_compute_forwarding_rule_facts:
filters:
@ -95,7 +94,6 @@
assert:
that:
- result.changed == false
- "result.kind == 'compute#forwardingRule'"
#----------------------------------------------------------
- name: delete a forwarding rule
gcp_compute_forwarding_rule:

@ -33,7 +33,6 @@
assert:
that:
- result.changed == true
- "result.kind == 'compute#address'"
- name: verify that global_address was created
gcp_compute_global_address_facts:
filters:
@ -61,7 +60,6 @@
assert:
that:
- result.changed == false
- "result.kind == 'compute#address'"
#----------------------------------------------------------
- name: delete a global address
gcp_compute_global_address:

Loading…
Cancel
Save