Skip to content

Commit

Permalink
chore: update ansible-lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Jan 6, 2025
1 parent 353f817 commit 9a75e4f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ exclude_paths:
skip_list:
- role-name
- var-naming
warn_list:
- yaml[line-length]
- no-changed-when
- no-handler
9 changes: 4 additions & 5 deletions .ansible-lint-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
# Ignore rules in specific files as follows:
# playbooks/transferuser.yml yaml[empty-lines]

playbooks/roles/transferuser/molecule/default/verify.yml risky-shell-pipe
playbooks/roles/stata18/molecule/default/prepare.yml command-instead-of-module
playbooks/roles/stata18/molecule/default/prepare.yml inline-env-var # this is a bug in some versions of ansible-lint

molecule/playbook-aptly/molecule.yml yaml[line-length] # molecule test parameters are long
molecule/playbook-reverse_proxy/molecule.yml yaml[line-length] # molecule test parameters are long
molecule/playbook-reverse_proxy/verify.yml yaml[line-length] # URL expectations are too long
playbooks/roles/sshfs_mount/main/tasks.yml yaml[line-length] # fstab options are too long
playbooks/roles/camunda_server/tasks/main.yml yaml[line-length] # XML too long
playbooks/roles/sshfs_mount/tasks/mount.yml yaml[line-length] # mount options too long
playbooks/roles/stata18/molecule/default/prepare.yml command-instead-of-module
2 changes: 1 addition & 1 deletion .github/workflows/ansible_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
- name: Run ansible-lint
uses: ansible/ansible-lint@main
with:
args: "playbooks/"
args: "playbooks ."

0 comments on commit 9a75e4f

Please sign in to comment.