Skip to content

Commit

Permalink
Merge branch 'master' into feature/ansible-collections#657
Browse files Browse the repository at this point in the history
  • Loading branch information
SirGitsalot authored Nov 12, 2024
2 parents e89571e + a1b9e17 commit 198adf8
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,21 @@
that:
- 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
google.cloud.gcp_pubsub_subscription:
name: "{{ resource_name }}"
Expand Down

0 comments on commit 198adf8

Please sign in to comment.