No description
  • Jinja 49.2%
  • Shell 35.5%
  • Just 15.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-04 06:16:35 +00:00
.github Update molecule.yml: safeguard for running multiple scenarios 2026-09-02 11:43:25 -04:00
bin Autotag every role-affecting commit, state-based 2026-08-23 21:13:24 +03:00
defaults Update docker.io/binwiederhier/ntfy Docker tag to v2.37.2 2026-11-04 06:16:35 +00:00
docs Stop setting upstream-base-url to the same value as base-url by default 2026-11-02 15:55:31 +02:00
LICENSES Make the project compliant with REUSE 2025-03-07 13:07:31 +09:00
meta Standardize the meta namespace to mash 2026-08-24 18:06:28 +03:00
molecule Add Postgres database support 2026-11-01 08:34:29 -09:00
tasks Fail early if ntfy_upstream_base_url is the same as ntfy_base_url 2026-11-02 16:04:21 +02:00
templates Stop setting upstream-base-url to the same value as base-url by default 2026-11-02 15:55:31 +02:00
vars Fix exposing the metrics endpoint when a dedicated metrics port is used 2026-07-28 07:12:28 +03:00
.ansible-lint Enable pre-commit 2025-07-09 22:56:35 +09:00
.gitignore Add Molecule testing framework 2026-07-13 12:02:45 -04:00
.pre-commit-config.yaml Update pre-commit repositories and hooks 2026-10-29 06:26:54 -08:00
.python-version Add Molecule testing framework 2026-07-13 12:02:45 -04:00
.yamllint.yml Enable pre-commit 2025-07-09 22:56:35 +09:00
justfile justfile: git hooks resolve prek through the mise shim 2026-08-25 10:46:35 -04:00
LICENSE Initial commit 2023-02-17 09:49:54 +02:00
mise.toml mise: drop the settings block - yes is ignored in project configs 2026-08-16 09:28:51 +03:00
README.md Update README.md: add a section about releases 2026-10-02 02:46:09 -04:00
REUSE.toml Add Molecule testing framework 2026-07-13 12:02:45 -04:00

ntfy Ansible role

REUSE status

This is an Ansible role which installs ntfy 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 Mother-of-All-Self-Hosting 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.