Skip to content

Commit

Permalink
https://github.com/ansible/ansible-lint/pull/4139
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed May 19, 2024
1 parent 1667077 commit 4f8f5f5
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

# Copyright 2023 Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
# Copyright 2024 Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
42 changes: 14 additions & 28 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

# Copyright 2023 Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
# Copyright 2024 Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,35 +15,21 @@
# limitations under the License.

extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
min-spaces-inside: 0
comments:
min-spaces-from-content: 1
comments-indentation: false
document-start:
present: true
indentation:
spaces: 2
indent-sequences: true
key-duplicates: enable
indent-sequences: consistent
level: error
key-duplicates:
forbid-duplicated-merge-keys: true
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable
octal-values:
forbid-explicit-octal: true
forbid-implicit-octal: true
2 changes: 1 addition & 1 deletion roles/ansible
Submodule ansible updated 2 files
+1 −1 .ansible-lint
+14 −28 .yamllint
2 changes: 1 addition & 1 deletion roles/cloud_init
Submodule cloud_init updated 2 files
+1 −1 .ansible-lint
+14 −28 .yamllint
2 changes: 1 addition & 1 deletion roles/kernel
Submodule kernel updated 2 files
+1 −1 .ansible-lint
+14 −28 .yamllint
2 changes: 1 addition & 1 deletion roles/locales
Submodule locales updated 2 files
+1 −1 .ansible-lint
+14 −28 .yamllint
2 changes: 1 addition & 1 deletion roles/python
Submodule python updated 2 files
+1 −1 .ansible-lint
+14 −28 .yamllint
2 changes: 1 addition & 1 deletion roles/sshd
Submodule sshd updated 2 files
+1 −1 .ansible-lint
+14 −28 .yamllint
2 changes: 1 addition & 1 deletion roles/timezone
Submodule timezone updated 2 files
+1 −1 .ansible-lint
+14 −28 .yamllint

0 comments on commit 4f8f5f5

Please sign in to comment.