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

@ -38,7 +38,7 @@
auth_kind: "{{ gcp_cred_kind }}"
service_account_file: "{{ gcp_cred_file | default(omit) }}"
state: absent
#----------------------------------------------------------
# ----------------------------------------------------------
- name: Create an SSL cert
google.cloud.gcp_sql_ssl_cert:
common_name: "{{ resource_name }}"
@ -67,7 +67,7 @@
ansible.builtin.assert:
that:
- updates.changed == false
#----------------------------------------------------------
# ----------------------------------------------------------
- name: Delete an SSL cert
google.cloud.gcp_sql_ssl_cert:
common_name: "{{ resource_name }}"
@ -83,7 +83,7 @@
ansible.builtin.assert:
that:
- result.changed == true
#---------------------------------------------------------
# ---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
- name: Delete a instance