skylab
/
skylab-ansible
Archived
2
0
Fork 0

Initial commit

This commit is contained in:
Ethan Paul 2021-08-30 22:31:23 -04:00
commit 829d7d3ffd
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A
3 changed files with 39 additions and 0 deletions

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
*.retry
*.swp
playbooks/testing.yml
.mypy_cache/*
*.idea
**/__pycache__/
.venv/

28
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,28 @@
---
# All of the pre-commit hooks here actually use the `pytyhon` pre-commit language
# setting. However, for the python language setting, pre-commit will create and manage
# a cached virtual environment for each hook ID and do a bare `pip install <repo>` into
# the venv to setup the hook. This can result in conflicting dependency versions between
# the version installed to the pre-commit venv and the version installed to the Poetry
# venv specified in the lockfile.
#
# The solution is to specify `language: system` for all hooks and then install the
# required dependencies to the Poetry venv. The `system` language skips the isolated
# venv creation and looks for the entrypoint specified by the hook in the global
# environment which, if running in the Poetry venv, will find the entrypoint provided
# by the Poetry-managed dependency.
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: end-of-file-fixer
language: system
- id: fix-encoding-pragma
args:
- "--remove"
language: system
- id: trailing-whitespace
language: system
- id: check-merge-conflict
language: system

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# skylab-ansible
Ansible configs for the Skylab Homelab