Pre-commit hook fixes
Some checks failed
Wiki Resources Sanity Checks / ruff-checks (push) Failing after 1s
Some checks failed
Wiki Resources Sanity Checks / ruff-checks (push) Failing after 1s
This commit is contained in:
@@ -1,13 +1,8 @@
|
|||||||
---
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/ansible/ansible-lint
|
- repo: https://github.com/ansible/ansible-lint
|
||||||
rev: v26.4.0
|
rev: v26.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
name: ansible-lint
|
files: ^ansible/
|
||||||
description: Run ansible-lint on playbooks
|
entry: ansible-lint ansible/
|
||||||
entry: ansible-lint
|
pass_filenames: false
|
||||||
args:
|
|
||||||
- ansible
|
|
||||||
language: python
|
|
||||||
files: ^ansible/.*$
|
|
||||||
|
|||||||
3
ansible/.ansible-lint
Normal file
3
ansible/.ansible-lint
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
skip_list:
|
||||||
|
- trailing-spaces
|
||||||
@@ -14,4 +14,3 @@
|
|||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "Rebooting host now"
|
msg: "Rebooting host now"
|
||||||
notify: Reboot Host
|
notify: Reboot Host
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user