Skip to content

Commit 4531555

Browse files
committed
Rename .yml files to .yaml
1 parent e3c962b commit 4531555

File tree

21 files changed

+29
-24
lines changed

21 files changed

+29
-24
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ insert_final_newline = true
1313
max_line_length = 100
1414
trim_trailing_whitespace = true
1515

16-
[*.{json{,c},yml}{,.j2}]
16+
[*.{json{,c},y{,a}ml}{,.j2}]
1717
indent_size = 2
1818
tab_width = 2
1919

File renamed without changes.
File renamed without changes.

.gitignore

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,33 @@
88
# Include directories
99
!.github/
1010
!.github/workflows/
11-
!.github/workflows/*.yml
11+
!.github/workflows/*.yaml
1212
!.vscode/
1313
!.vscode/extensions.json
1414
!.vscode/settings.json
1515
!inventory/
16-
!inventory/localhost.yml
16+
!inventory/localhost.yaml
1717
!meta/
18-
!meta/runtime.yml
18+
!meta/runtime.yaml
1919
!playbooks/
20-
!playbooks/*.yml
20+
!playbooks/*.yaml
2121
!plugins/
2222
!plugins/modules/
2323
!plugins/modules/*.py
2424
!roles/
2525
!roles/**/
2626
!roles/**/*.md
27-
!roles/**/*.yml
27+
!roles/**/*.yaml
2828
!roles/**/templates/**/*.j2
2929

3030
# Include files
3131
!.ansible-lint
3232
!.editorconfig
3333
!.gitignore
34-
!.prettierrc.yml
34+
!.prettierrc.yaml
3535
!.yamllint
3636
!CHANGELOG.md
37-
!galaxy.yml
37+
!galaxy.yaml
3838
!LICENSE
3939
!pyproject.toml
4040
!README.md
File renamed without changes.

.vscode/settings.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88

99
"files.associations": {
1010
".ansible-lint": "yaml",
11-
"**/.github/workflows/galaxy.yml": "yaml",
12-
"**/defaults/**/*.yml": "ansible",
13-
"**/handlers/**/*.yml": "ansible",
14-
"**/inventory/**/*.yml": "ansible",
15-
"**/meta/**/*.yml": "ansible",
16-
"**/tasks/**/*.yml": "ansible",
17-
"**/vars/**/*.yml": "ansible",
11+
"**/.github/workflows/galaxy.yaml": "yaml",
12+
"**/defaults/**/*.yaml": "ansible",
13+
"**/handlers/**/*.yaml": "ansible",
14+
"**/inventory/**/*.yaml": "ansible",
15+
"**/meta/**/*.yaml": "ansible",
16+
"**/tasks/**/*.yaml": "ansible",
17+
"**/vars/**/*.yaml": "ansible",
1818
"**/roles/*/templates/**/*.conf.j2": "jinja-properties",
1919
"galaxy.yml": "ansible",
20-
"site-*.yml": "ansible"
20+
"site-*.yaml": "ansible"
2121
},
2222
"files.exclude": {
2323
"**/__pycache__/**": true,

.yamllint

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ rules:
77
brackets: enable
88
colons: enable
99
commas: enable
10-
comments: { level: warning }
11-
comments-indentation: { level: warning }
10+
comments:
11+
level: warning
12+
min-spaces-from-content: 1
13+
comments-indentation: false
1214
document-end: disable
1315
document-start: { level: warning }
1416
empty-lines: enable
@@ -23,14 +25,17 @@ rules:
2325
max: 100
2426
new-line-at-end-of-file: enable
2527
new-lines: enable
26-
octal-values: disable
28+
octal-values:
29+
forbid-implicit-octal: true
30+
forbid-explicit-octal: true
2731
quoted-strings: disable
2832
trailing-spaces: enable
2933
truthy:
3034
allowed-values: ["true", "false"]
3135
check-keys: false
3236

3337
yaml-files:
38+
- "*.yaml"
3439
- "*.yml"
3540
- ".ansible-lint"
3641
- ".yamllint"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)