diff options
author | Alex Stephen <alexstephen@google.com> | 2018-08-13 09:15:02 -0700 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2018-08-13 12:15:02 -0400 |
commit | c38e1e5631424a2fbd055a7842bcc5dbf1d40a2a (patch) | |
tree | 8f15bf5a10fdc23db4b3c1206a74f048bf2aabfa /test/integration/targets/gcp_container_cluster/tasks/main.yml | |
parent | dd3c4b0d393a946b618a90f89520bec281548833 (diff) | |
download | ansible-c38e1e5631424a2fbd055a7842bcc5dbf1d40a2a.tar.gz |
Bug fixes for gcp_container_cluster (#42829)
Diffstat (limited to 'test/integration/targets/gcp_container_cluster/tasks/main.yml')
-rw-r--r-- | test/integration/targets/gcp_container_cluster/tasks/main.yml | 50 |
1 files changed, 20 insertions, 30 deletions
diff --git a/test/integration/targets/gcp_container_cluster/tasks/main.yml b/test/integration/targets/gcp_container_cluster/tasks/main.yml index b17ba1525f..86e111d66f 100644 --- a/test/integration/targets/gcp_container_cluster/tasks/main.yml +++ b/test/integration/targets/gcp_container_cluster/tasks/main.yml @@ -18,17 +18,15 @@ name: "{{ resource_name }}" initial_node_count: 2 master_auth: - username: "cluster_admin" - password: "my-secret-password" + username: cluster_admin + password: my-secret-password node_config: - machine_type: "n1-standard-4" + machine_type: n1-standard-4 disk_size_gb: 500 - zone: 'us-central1-a' + zone: us-central1-a project: "{{ gcp_project }}" auth_kind: "{{ gcp_cred_kind }}" service_account_file: "{{ gcp_cred_file }}" - scopes: - - https://www.googleapis.com/auth/cloud-platform state: absent #---------------------------------------------------------- - name: create a cluster @@ -36,17 +34,15 @@ name: "{{ resource_name }}" initial_node_count: 2 master_auth: - username: "cluster_admin" - password: "my-secret-password" + username: cluster_admin + password: my-secret-password node_config: - machine_type: "n1-standard-4" + machine_type: n1-standard-4 disk_size_gb: 500 - zone: 'us-central1-a' + zone: us-central1-a project: "{{ gcp_project }}" auth_kind: "{{ gcp_cred_kind }}" service_account_file: "{{ gcp_cred_file }}" - scopes: - - https://www.googleapis.com/auth/cloud-platform state: present register: result - name: assert changed is true @@ -67,17 +63,15 @@ name: "{{ resource_name }}" initial_node_count: 2 master_auth: - username: "cluster_admin" - password: "my-secret-password" + username: cluster_admin + password: my-secret-password node_config: - machine_type: "n1-standard-4" + machine_type: n1-standard-4 disk_size_gb: 500 - zone: 'us-central1-a' + zone: us-central1-a project: "{{ gcp_project }}" auth_kind: "{{ gcp_cred_kind }}" service_account_file: "{{ gcp_cred_file }}" - scopes: - - https://www.googleapis.com/auth/cloud-platform state: present register: result - name: assert changed is false @@ -90,17 +84,15 @@ name: "{{ resource_name }}" initial_node_count: 2 master_auth: - username: "cluster_admin" - password: "my-secret-password" + username: cluster_admin + password: my-secret-password node_config: - machine_type: "n1-standard-4" + machine_type: n1-standard-4 disk_size_gb: 500 - zone: 'us-central1-a' + zone: us-central1-a project: "{{ gcp_project }}" auth_kind: "{{ gcp_cred_kind }}" service_account_file: "{{ gcp_cred_file }}" - scopes: - - https://www.googleapis.com/auth/cloud-platform state: absent register: result - name: assert changed is true @@ -123,17 +115,15 @@ name: "{{ resource_name }}" initial_node_count: 2 master_auth: - username: "cluster_admin" - password: "my-secret-password" + username: cluster_admin + password: my-secret-password node_config: - machine_type: "n1-standard-4" + machine_type: n1-standard-4 disk_size_gb: 500 - zone: 'us-central1-a' + zone: us-central1-a project: "{{ gcp_project }}" auth_kind: "{{ gcp_cred_kind }}" service_account_file: "{{ gcp_cred_file }}" - scopes: - - https://www.googleapis.com/auth/cloud-platform state: absent register: result - name: assert changed is false |