mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-27 15:11:33 -07:00
Enable required YAML lint rules and fix results
This commit is contained in:
parent
3de16da36a
commit
4ee4cc60b5
91 changed files with 225 additions and 223 deletions
|
@ -1,7 +1,5 @@
|
|||
---
|
||||
profile: production
|
||||
parseable: true
|
||||
skip_list:
|
||||
- ANSIBLE0010
|
||||
use_default_rules: true
|
||||
verbosity: 1
|
||||
|
|
2
.github/workflows/ansible-test.yml
vendored
2
.github/workflows/ansible-test.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue