refactor(snippets/aws/tasks): use playbook format, reorder

This commit is contained in:
Michele Cereda
2024-11-13 01:31:24 +01:00
parent d8e2031587
commit b922f2660b
4 changed files with 721 additions and 583 deletions

View File

@@ -3,7 +3,9 @@
offline: true offline: true
warn_list: warn_list:
- name[template] # Jinja templates should only be at the end of 'name' -- oh come on! - name[template] # Jinja templates should only be at the end of 'name'
- role-name[path] # Avoid using paths when importing roles -- yeah, need for testing - role-name[path] # Avoid using paths when importing roles
- yaml[comments-indentation] - yaml[comments-indentation] # Comment not indented like content
- package-latest - yaml[brackets] # Too many spaces inside brackets
- package-latest # Package installs should not use latest
- jinja[spacing] # Jinja2 spacing could be improved

View File

@@ -5,6 +5,9 @@
extends: default extends: default
rules: rules:
brackets: disable
comments-indentation:
level: warning
comments: comments:
ignore: ignore:
- 'cloud-init/*' - 'cloud-init/*'

View File

@@ -3,3 +3,5 @@ ansible-lint==24.9.2
click==8.1.7 click==8.1.7
pyinilint==0.17 pyinilint==0.17
yq==3.4.3 yq==3.4.3
fqdn==1.5.1
jmespath==1.0.1

File diff suppressed because it is too large Load Diff