diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 047203c..3f4aff2 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -19,3 +19,6 @@ jobs: scripts/ansible/ping_playbook.yml scripts/ansible/restart_playbook.yml scripts/ansible/update_playbook.yml + + args: + -c scripts/ansible/.ansible-lint diff --git a/scripts/ansible/.ansible-lint b/scripts/ansible/.ansible-lint new file mode 100644 index 0000000..b908f64 --- /dev/null +++ b/scripts/ansible/.ansible-lint @@ -0,0 +1,8 @@ +parsable: true +skip_list: + - '301' # Commands should not change things if nothing needs doing + - '305' # Use shell only when shell functionality is required + - '204' # Lines should be no longer than 160 chars + - '502' # All tasks should be named + +# vim: filetype=yaml