summaryrefslogtreecommitdiff
path: root/test/integration/targets/gcp_container_cluster/tasks/main.yml
diff options
context:
space:
mode:
authorThe Magician <magic-modules@google.com>2019-03-15 14:49:38 -0700
committeransibot <ansibot@users.noreply.github.com>2019-03-15 17:49:38 -0400
commit3a43e41b3973793da4f0d987ca0027faa30b14be (patch)
tree600f6b6ef9f90a0aa6474141a6d66ad5930d2de4 /test/integration/targets/gcp_container_cluster/tasks/main.yml
parentb429ba61dcd0735cdc6e3675fcfbae3a3ccc8ff9 (diff)
downloadansible-3a43e41b3973793da4f0d987ca0027faa30b14be.tar.gz
Bug fixes for GCP modules (#53881)
Diffstat (limited to 'test/integration/targets/gcp_container_cluster/tasks/main.yml')
-rw-r--r--test/integration/targets/gcp_container_cluster/tasks/main.yml130
1 files changed, 65 insertions, 65 deletions
diff --git a/test/integration/targets/gcp_container_cluster/tasks/main.yml b/test/integration/targets/gcp_container_cluster/tasks/main.yml
index 1785c26945..ebf2fa5c93 100644
--- a/test/integration/targets/gcp_container_cluster/tasks/main.yml
+++ b/test/integration/targets/gcp_container_cluster/tasks/main.yml
@@ -15,35 +15,35 @@
# Pre-test setup
- name: delete a cluster
gcp_container_cluster:
- name: my-cluster
- initial_node_count: 2
- master_auth:
- username: cluster_admin
- password: my-secret-password
- node_config:
- machine_type: n1-standard-4
- disk_size_gb: 500
- location: us-central1-a
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: absent
+ name: my-cluster
+ initial_node_count: 2
+ master_auth:
+ username: cluster_admin
+ password: my-secret-password
+ node_config:
+ machine_type: n1-standard-4
+ disk_size_gb: 500
+ location: us-central1-a
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: absent
#----------------------------------------------------------
- name: create a cluster
gcp_container_cluster:
- name: my-cluster
- initial_node_count: 2
- master_auth:
- username: cluster_admin
- password: my-secret-password
- node_config:
- machine_type: n1-standard-4
- disk_size_gb: 500
- location: us-central1-a
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: present
+ name: my-cluster
+ initial_node_count: 2
+ master_auth:
+ username: cluster_admin
+ password: my-secret-password
+ node_config:
+ machine_type: n1-standard-4
+ disk_size_gb: 500
+ location: us-central1-a
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: present
register: result
- name: assert changed is true
assert:
@@ -65,19 +65,19 @@
# ----------------------------------------------------------------------------
- name: create a cluster that already exists
gcp_container_cluster:
- name: my-cluster
- initial_node_count: 2
- master_auth:
- username: cluster_admin
- password: my-secret-password
- node_config:
- machine_type: n1-standard-4
- disk_size_gb: 500
- location: us-central1-a
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: present
+ name: my-cluster
+ initial_node_count: 2
+ master_auth:
+ username: cluster_admin
+ password: my-secret-password
+ node_config:
+ machine_type: n1-standard-4
+ disk_size_gb: 500
+ location: us-central1-a
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: present
register: result
- name: assert changed is false
assert:
@@ -86,19 +86,19 @@
#----------------------------------------------------------
- name: delete a cluster
gcp_container_cluster:
- name: my-cluster
- initial_node_count: 2
- master_auth:
- username: cluster_admin
- password: my-secret-password
- node_config:
- machine_type: n1-standard-4
- disk_size_gb: 500
- location: us-central1-a
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: absent
+ name: my-cluster
+ initial_node_count: 2
+ master_auth:
+ username: cluster_admin
+ password: my-secret-password
+ node_config:
+ machine_type: n1-standard-4
+ disk_size_gb: 500
+ location: us-central1-a
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: absent
register: result
- name: assert changed is true
assert:
@@ -120,19 +120,19 @@
# ----------------------------------------------------------------------------
- name: delete a cluster that does not exist
gcp_container_cluster:
- name: my-cluster
- initial_node_count: 2
- master_auth:
- username: cluster_admin
- password: my-secret-password
- node_config:
- machine_type: n1-standard-4
- disk_size_gb: 500
- location: us-central1-a
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: absent
+ name: my-cluster
+ initial_node_count: 2
+ master_auth:
+ username: cluster_admin
+ password: my-secret-password
+ node_config:
+ machine_type: n1-standard-4
+ disk_size_gb: 500
+ location: us-central1-a
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: absent
register: result
- name: assert changed is false
assert: