Adding namespace on integration tests + examples

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
Alex Stephen 2019-09-30 22:08:25 +00:00 committed by Modular Magician
commit 516fada880
130 changed files with 570 additions and 570 deletions

View file

@ -14,7 +14,7 @@
# ----------------------------------------------------------------------------
# Pre-test setup
- name: delete a node
gcp_tpu_node:
google.cloud.gcp_tpu_node:
name: "{{ resource_name }}"
zone: us-central1-b
accelerator_type: v3-8
@ -26,7 +26,7 @@
state: absent
#----------------------------------------------------------
- name: create a node
gcp_tpu_node:
google.cloud.gcp_tpu_node:
name: "{{ resource_name }}"
zone: us-central1-b
accelerator_type: v3-8
@ -56,7 +56,7 @@
- results['resources'] | map(attribute='name') | select("match", ".*{{ resource_name }}.*") | list | length == 1
# ----------------------------------------------------------------------------
- name: create a node that already exists
gcp_tpu_node:
google.cloud.gcp_tpu_node:
name: "{{ resource_name }}"
zone: us-central1-b
accelerator_type: v3-8
@ -73,7 +73,7 @@
- result.changed == false
#----------------------------------------------------------
- name: delete a node
gcp_tpu_node:
google.cloud.gcp_tpu_node:
name: "{{ resource_name }}"
zone: us-central1-b
accelerator_type: v3-8
@ -103,7 +103,7 @@
- results['resources'] | map(attribute='name') | select("match", ".*{{ resource_name }}.*") | list | length == 0
# ----------------------------------------------------------------------------
- name: delete a node that does not exist
gcp_tpu_node:
google.cloud.gcp_tpu_node:
name: "{{ resource_name }}"
zone: us-central1-b
accelerator_type: v3-8