mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-28 15:41:32 -07:00
Adding namespace on integration tests + examples
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
6c7c5f4977
commit
516fada880
130 changed files with 570 additions and 570 deletions
|
@ -14,7 +14,7 @@
|
|||
# ----------------------------------------------------------------------------
|
||||
# Pre-test setup
|
||||
- name: create a bucket
|
||||
gcp_storage_bucket:
|
||||
google.cloud.gcp_storage_bucket:
|
||||
name: "{{ resource_name }}"
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
|
@ -22,7 +22,7 @@
|
|||
state: present
|
||||
register: bucket
|
||||
- name: delete a bucket access control
|
||||
gcp_storage_bucket_access_control:
|
||||
google.cloud.gcp_storage_bucket_access_control:
|
||||
bucket: "{{ bucket }}"
|
||||
entity: user-alexstephen@google.com
|
||||
role: WRITER
|
||||
|
@ -32,7 +32,7 @@
|
|||
state: absent
|
||||
#----------------------------------------------------------
|
||||
- name: create a bucket access control
|
||||
gcp_storage_bucket_access_control:
|
||||
google.cloud.gcp_storage_bucket_access_control:
|
||||
bucket: "{{ bucket }}"
|
||||
entity: user-alexstephen@google.com
|
||||
role: WRITER
|
||||
|
@ -47,7 +47,7 @@
|
|||
- result.changed == true
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: create a bucket access control that already exists
|
||||
gcp_storage_bucket_access_control:
|
||||
google.cloud.gcp_storage_bucket_access_control:
|
||||
bucket: "{{ bucket }}"
|
||||
entity: user-alexstephen@google.com
|
||||
role: WRITER
|
||||
|
@ -62,7 +62,7 @@
|
|||
- result.changed == false
|
||||
#----------------------------------------------------------
|
||||
- name: delete a bucket access control
|
||||
gcp_storage_bucket_access_control:
|
||||
google.cloud.gcp_storage_bucket_access_control:
|
||||
bucket: "{{ bucket }}"
|
||||
entity: user-alexstephen@google.com
|
||||
role: WRITER
|
||||
|
@ -77,7 +77,7 @@
|
|||
- result.changed == true
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: delete a bucket access control that does not exist
|
||||
gcp_storage_bucket_access_control:
|
||||
google.cloud.gcp_storage_bucket_access_control:
|
||||
bucket: "{{ bucket }}"
|
||||
entity: user-alexstephen@google.com
|
||||
role: WRITER
|
||||
|
@ -94,7 +94,7 @@
|
|||
# Post-test teardown
|
||||
# If errors happen, don't crash the playbook!
|
||||
- name: delete a bucket
|
||||
gcp_storage_bucket:
|
||||
google.cloud.gcp_storage_bucket:
|
||||
name: "{{ resource_name }}"
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue