Enable required YAML lint rules and fix results

This commit is contained in:
Chris Hawk 2025-01-14 15:15:59 -08:00
commit 4ee4cc60b5
91 changed files with 225 additions and 223 deletions

View file

@ -37,7 +37,7 @@
auth_kind: "{{ gcp_cred_kind }}"
service_account_file: "{{ gcp_cred_file | default(omit) }}"
state: absent
#----------------------------------------------------------
# ----------------------------------------------------------
- name: Create a subscription
google.cloud.gcp_pubsub_subscription:
name: "{{ resource_name }}"
@ -79,7 +79,7 @@
ansible.builtin.assert:
that:
- result.changed == false
#----------------------------------------------------------
# ----------------------------------------------------------
- name: Update a subscription
google.cloud.gcp_pubsub_subscription:
name: "{{ resource_name }}"
@ -94,7 +94,7 @@
ansible.builtin.assert:
that:
- result.changed == true
#----------------------------------------------------------
# ----------------------------------------------------------
- name: Update cloudStorageConfig of a subscription that already exists
google.cloud.gcp_pubsub_subscription:
name: "{{ resource_name }}"
@ -118,7 +118,7 @@
ansible.builtin.assert:
that:
- result.changed == true
#----------------------------------------------------------
# ----------------------------------------------------------
- name: Delete a subscription
google.cloud.gcp_pubsub_subscription:
name: "{{ resource_name }}"
@ -160,7 +160,7 @@
ansible.builtin.assert:
that:
- result.changed == false
#---------------------------------------------------------
# ---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
- name: Delete a topic