commit 7cdf9b854b4ab746a190b6c300679f11c2e0548c Author: Lucas Winther Date: Wed Sep 16 03:57:50 2026 +0200 Add repository scaffolding MIT license, the ignore list that keeps secrets and Ansible scratch files out, and a .gitattributes that normalises everything to LF — payloads are deployed to Linux hosts, where a CRLF breaks a shell script outright. Co-Authored-By: Claude Opus 5 (1M context) diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..051a9b5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Everything here is deployed to Linux hosts. A CRLF line ending makes a shell +# script fail with "bad interpreter: /bin/bash^M", and can silently break a +# compose or config file. Normalise to LF in the repository and on checkout, +# whatever the contributor's platform or core.autocrlf setting. +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a6ac7f --- /dev/null +++ b/.gitignore @@ -0,0 +1,32 @@ +# Secrets never belong in this repository. See docs/secrets.md. +.env +.env.local +.env.*.local +.vault_pass +vault-password* +*.vault +*.pem +id_rsa* +id_ed25519* + +# Ansible +*.retry +ansible/collections/ +ansible/inventory/host_vars/*.local.yml +# Scratch directory ansible-lint and ansible-core create in the working directory +.ansible/ + +# Editors and OS +.idea/ +.vscode/ +*.swp +*.swo +.DS_Store + +# Python, for the linting toolchain +__pycache__/ +*.pyc +.venv/ + +# Claude Code — settings.json is shared, settings.local.json is personal +.claude/settings.local.json diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fcdf240 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 The compose-stack-deploy contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.