feat: add the empty mortis.kamino collection skeleton
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
7131d9da80
commit
c794d3133a
6 files changed
+114
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
# Built collection archives and local tooling
|
||||
*.tar.gz
|
||||
/.venv/
|
||||
/venv/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
.ansible/
|
||||
# Never commit credentials or key material
|
||||
*.pem
|
||||
*.key
|
||||
.vault-pass*
|
||||
vault-pass*
|
||||
gitleaks-report.json
|
||||
@@ -0,0 +1,19 @@
|
||||
# Contributing
|
||||
|
||||
- Open a pull request against `main`. Pull requests from forks need a
|
||||
maintainer's approval before any workflow runs, and CI never receives secrets
|
||||
on pull requests.
|
||||
- Commit messages follow [Conventional Commits](https://www.conventionalcommits.org/)
|
||||
(`feat:`, `fix:`, `docs:`, `ci:` ...). CI checks every commit.
|
||||
- Every user-visible change needs a changelog fragment in `changelogs/fragments/`
|
||||
(antsibull-changelog format, a YAML file with a section such as
|
||||
`minor_changes:` or `bugfixes:`). Pure CI or docs changes use `trivial:`.
|
||||
- Role variables carry the role name as a prefix (`<role>_<name>`).
|
||||
- Third-party material needs an SPDX header and an entry in `NOTICE`.
|
||||
- Set up the tooling with `pip install -r requirements-dev.txt` in a virtualenv,
|
||||
then run `pre-commit install --install-hooks` once and
|
||||
`pre-commit run --all-files` before pushing.
|
||||
- Never commit credentials, tokens or key material.
|
||||
- Releases are cut by the maintainer: bump `version` in `galaxy.yml`, run
|
||||
`antsibull-changelog release` in a release PR, then push an annotated
|
||||
`vX.Y.Z` tag.
|
||||
@@ -0,0 +1,46 @@
|
||||
# mortis.kamino
|
||||
|
||||
An Ansible Collection of reusable, hardened roles for a self-hosted home lab:
|
||||
Linux baseline, firewall, SSH, user management and, in later releases, Proxmox,
|
||||
Gitea and Gitea Actions runner roles.
|
||||
|
||||
Status: scaffolding. The Collection holds no roles yet; roles arrive in waves
|
||||
(see the extraction plan in the environment repo's ADR 0001). Version 1.0.0 is
|
||||
reserved for the first stable release.
|
||||
|
||||
## Consuming
|
||||
|
||||
The Collection is consumed by git tag and used by fully qualified collection
|
||||
name (FQCN) only, `mortis.kamino.<role>`:
|
||||
|
||||
```yaml
|
||||
# requirements.yml
|
||||
collections:
|
||||
- name: https://git.rkdr.net/mortis/kamino.git
|
||||
type: git
|
||||
version: v0.1.0
|
||||
```
|
||||
|
||||
```yaml
|
||||
- ansible.builtin.include_role:
|
||||
name: mortis.kamino.<role>
|
||||
```
|
||||
|
||||
Pin a tag, never a branch. Releases are annotated `vX.Y.Z` tags pushed by the
|
||||
maintainer; the tag equals `v` plus the `version` in `galaxy.yml`. Every role
|
||||
input carries the role name as a prefix (`<role>_<name>`).
|
||||
|
||||
## Licence
|
||||
|
||||
Licensed GPL-3.0-or-later (see `COPYING`). Files marked GPL-3.0-only
|
||||
(roles/pihole, roles/ufw/templates/before.rules.j2) make the Collection as a
|
||||
whole distributable under GPL-3.0 only. Third-party material
|
||||
keeps its own licence, marked by an SPDX header, with texts in `LICENSES/` and
|
||||
attribution in `NOTICE`. The repository follows the REUSE specification
|
||||
(`reuse lint`).
|
||||
|
||||
## Development
|
||||
|
||||
See `CONTRIBUTING.md`. The release and consumption contract is recorded as ADR
|
||||
0004 ("The Collection is a public repo released by operator-pushed semver tags
|
||||
and consumed by FQCN from a baked image") in the maintainer's environment repo.
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
---
|
||||
namespace: mortis
|
||||
name: kamino
|
||||
version: 0.1.0
|
||||
readme: README.md
|
||||
authors:
|
||||
- Defame1297
|
||||
description: Reusable, hardened Ansible roles for a self-hosted home lab (Linux baseline, firewall, SSH, Proxmox and Gitea runners).
|
||||
license:
|
||||
- GPL-3.0-or-later
|
||||
tags:
|
||||
- infrastructure
|
||||
- linux
|
||||
- security
|
||||
- hardening
|
||||
repository: https://git.rkdr.net/mortis/kamino
|
||||
documentation: https://git.rkdr.net/mortis/kamino/src/branch/main/README.md
|
||||
homepage: https://git.rkdr.net/mortis/kamino
|
||||
issues: https://git.rkdr.net/mortis/kamino/issues
|
||||
dependencies: {}
|
||||
build_ignore:
|
||||
- .gitea
|
||||
- .gitignore
|
||||
- .pre-commit-config.yaml
|
||||
- .yamllint
|
||||
- .ansible-lint
|
||||
- CONTRIBUTING.md
|
||||
- images
|
||||
- scripts
|
||||
- requirements-dev.txt
|
||||
- '*.tar.gz'
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
# ansible-core 2.19 is what the environment repo's CI image pins
|
||||
# (ci_python_tool_ansible_core_version). Raise this when a role needs a newer
|
||||
# core; lowering it needs the molecule and sanity runs on the older core first.
|
||||
requires_ansible: ">=2.19.0"
|
||||
Whitespace-only changes.
Reference in new issue
Block a user