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 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 = '''

@ -49,7 +49,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 = '''

@ -55,7 +55,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 = '''

@ -49,7 +49,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 = '''

@ -55,7 +55,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 = '''

@ -63,7 +63,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 = '''

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save