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

@ -1,7 +1,5 @@
---
profile: production
parseable: true
skip_list:
- ANSIBLE0010
use_default_rules: true
verbosity: 1

View file

@ -33,7 +33,7 @@ jobs:
- name: Run ansible-test sanity
run: ansible-test sanity -v --color
- name: Install ansible-lint
run: pip install ansible-lint==24.7.0
run: pip install ansible-lint
- name: Run ansible-lint
run: ansible-lint
unit:

View file

@ -15,7 +15,8 @@ rules:
commas:
max-spaces-after: -1
level: error
comments: disable
comments:
min-spaces-from-content: 1
comments-indentation: disable
document-start: disable
empty-lines:
@ -29,5 +30,8 @@ rules:
new-line-at-end-of-file: disable
new-lines:
type: unix
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
trailing-spaces: disable
truthy: disable

View file

@ -12,7 +12,7 @@
ansible.builtin.copy:
content: Ansible GCS test file
dest: "{{ upload_temp.path }}"
mode: 0644
mode: "0644"
- name: Create a bucket
google.cloud.gcp_storage_bucket:
name: "{{ resource_name }}"