mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-21 14:58:02 +01:00
add simple pre-commit config
This commit is contained in:
parent
38c003d7e8
commit
08e196eaa9
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
[env]
|
||||
ANSIBLE_INVENTORY = "{{config_root}}/inventory.ini"
|
||||
ANSIBLE_VAULT_PASSWORD_FILE = "{{config_root}}/vault.pass"
|
||||
ANSIBLE_VAULT_PASSWORD_FILE = "{{config_root}}/vault.pass"
|
||||
|
|
8
.pre-commit-config.yaml
Normal file
8
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
args: [--unsafe]
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
|
@ -66,4 +66,4 @@
|
|||
3662343162643033380a326161313036643835636562636165356464393236303533303435353365
|
||||
36336163313338346235396565363631366564393562326536353262363637653432643830663532
|
||||
30356133383335653330613965623261323531613131663437363430636565393262353565326132
|
||||
323830313235313462633335333763363161
|
||||
323830313235313462633335333763363161
|
||||
|
|
Loading…
Reference in a new issue