No description
  • Jinja 43.2%
  • Shell 39.2%
  • Just 17.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Suguru Hirahara 1c240afb9c
Remove betterleaks from .pre-commit-config.yaml
Signed-off-by: Suguru Hirahara <did🔑z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
2026-10-28 20:33:19 -08:00
.github Update molecule.yml: safeguard for running multiple scenarios 2026-09-02 11:39:09 -04:00
bin Compute release tags from defaults/main.yml instead of commit messages 2026-08-24 01:49:51 +03:00
defaults Add *_process_extra_arguments 2026-09-18 15:53:08 -04:00
docs Update example path for vars.yml 2026-02-15 21:56:32 +09:00
LICENSES Initial commit 2026-02-12 14:03:15 +09:00
meta Standardize the meta namespace to mash 2026-08-24 18:43:14 +03:00
molecule Update pre-commit repositories and hooks 2026-10-29 05:07:21 +09:00
tasks Update validate_config.yml: adopt common name to the task to catch and report renamed settings 2026-09-13 16:31:39 -04:00
templates Add *_process_extra_arguments 2026-09-18 15:53:08 -04:00
.ansible-lint Initial commit 2026-02-12 14:03:15 +09:00
.gitignore Add Molecule testing framework 2026-07-13 07:34:47 -04:00
.pre-commit-config.yaml Remove betterleaks from .pre-commit-config.yaml 2026-10-28 20:33:19 -08:00
.python-version Add Molecule testing framework 2026-07-13 07:34:47 -04:00
.yamllint.yml Initial commit 2026-02-12 14:03:15 +09:00
justfile justfile: git hooks resolve prek through the mise shim 2026-08-25 17:15:44 +03:00
LICENSE Initial commit 2026-02-12 14:03:15 +09:00
mise.toml mise: drop the settings block - yes is ignored in project configs 2026-08-16 09:27:32 +03:00
README.md Update README.md: add a section about releases 2026-10-02 02:09:01 -04:00
REUSE.toml Add Molecule testing framework 2026-07-13 07:34:47 -04:00

Hydrogen Ansible role

This is an Ansible role which installs Hydrogen to run as a Docker container wrapped in a systemd service.

This role implicitly depends on:

Check defaults/main.yml for the full list of supported options. Refer to this page for details about setting up the service with this role.

💡 For an Ansible playbook which integrates this role and makes it easier to use, see the matrix-docker-ansible-deploy (MDAD) Ansible playbook.

Development

pre-commit

You can optionally install a Git pre-commit hook (via mise + prek) that runs formatting and linting checks before each commit. See .pre-commit-config.yaml for which hooks are to be executed.

To install the hook, run the just command below:

just prek-install-git-pre-commit-hook

Molecule

This role supports Molecule, an Ansible testing framework designed for developing and testing Ansible collections, playbooks, and roles.

Refer to this page for details about how to utilize it.

Releases

Tags are created on the GitHub workflow by .github/workflows/autotag.yml, which asks bin/compute-next-tag.sh what the commit on main should be released as. The answer comes from the version pinned in defaults/main.yml and from the tags that already exist, so a commit that only touches documentation or CI is not released at all, and any change to the role itself is — without waiting for a dependency bump to carry it along.

bin/test-compute-next-tag.sh exercises that script against throwaway repositories, and runs as a prek hook.