diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..5e5c051 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: trailing-whitespace + - id: check-added-large-files + - id: check-executables-have-shebangs + - id: check-json + - id: check-merge-conflict + - id: check-yaml + args: + - --allow-multiple-documents + - --unsafe + - id: end-of-file-fixer diff --git a/README.md b/README.md index f5ac678..3e910a1 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,3 @@ Variables prefixed by `vault_` are available by unlocking the vault with the master password # Basic config - diff --git a/ansible.cfg b/ansible.cfg index 54f6985..ce82e84 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,2 +1,2 @@ [defaults] -inventory=./hosts.yml \ No newline at end of file +inventory=./hosts.yml diff --git a/hosts.yml b/hosts.yml index f9a9358..d8858ca 100644 --- a/hosts.yml +++ b/hosts.yml @@ -1,4 +1,4 @@ server: hosts: chef.heaplab.deib.polimi.it: - ansible_port: 24 \ No newline at end of file + ansible_port: 24