mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-28 15:41:32 -07:00
Merge branch 'master' into feature/#657
This commit is contained in:
commit
198adf8cfd
1 changed files with 15 additions and 0 deletions
|
@ -80,6 +80,21 @@
|
||||||
that:
|
that:
|
||||||
- result.changed == false
|
- result.changed == false
|
||||||
#----------------------------------------------------------
|
#----------------------------------------------------------
|
||||||
|
- name: Update a subscription
|
||||||
|
google.cloud.gcp_pubsub_subscription:
|
||||||
|
name: "{{ resource_name }}"
|
||||||
|
topic: "{{ topic }}"
|
||||||
|
ack_deadline_seconds: 60
|
||||||
|
project: "{{ gcp_project }}"
|
||||||
|
auth_kind: "{{ gcp_cred_kind }}"
|
||||||
|
service_account_file: "{{ gcp_cred_file | default(omit) }}"
|
||||||
|
state: present
|
||||||
|
register: result
|
||||||
|
- name: Assert changed is true
|
||||||
|
ansible.builtin.assert:
|
||||||
|
that:
|
||||||
|
- result.changed == true
|
||||||
|
#----------------------------------------------------------
|
||||||
- name: Update cloudStorageConfig of a subscription that already exists
|
- name: Update cloudStorageConfig of a subscription that already exists
|
||||||
google.cloud.gcp_pubsub_subscription:
|
google.cloud.gcp_pubsub_subscription:
|
||||||
name: "{{ resource_name }}"
|
name: "{{ resource_name }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue