diff --git a/Makefile b/Makefile index 63d929b989..687d00cb4a 100644 --- a/Makefile +++ b/Makefile @@ -270,13 +270,6 @@ compose-up: install console: @"$${PYTHON}" -m cli.console -.PHONY: cosmos -# Regenerate the '## Cosmos' mermaid diagram in every role README (or one role). -# Usage: make cosmos [role=] -# Param role: single role id (default: all roles) -cosmos: - @"$${PYTHON}" -m cli.build.docs.readme $(role) --update-cosmos - .PHONY: diagnose-disk-usage # Show disk and Docker resource usage to identify what to clean up. diagnose-disk-usage: @@ -288,13 +281,6 @@ diagnose-disk-usage: diagnose-network: @$(MAKE) compose-exec cmd="python3 -m cli.contributing.network.diagnose" -.PHONY: docs -# Regenerate generated documentation: role Cosmos diagrams, Quick Setup blocks, the root-README roles index, and the MCP audit report. -docs: - @"$(MAKE)" cosmos - @"$(MAKE)" readme-generate quick_setup=true - @"$(MAKE)" readme-index - .PHONY: dotenv # Regenerate .env (SPOT) from default.env + runtime context. # Note: runtime context covers distro, cache sizes, secrets, and the like. @@ -629,9 +615,8 @@ onboard: bootstrap install-skills install-alias environment-bootstrap @"$(MAKE)" compose-exec cmd="bash scripts/install/dev-extras.sh" .PHONY: quality -# Regenerate generated docs, autoformat, then run the full test suite (pre-commit gate). +# Autoformat, then run the full test suite (pre-commit gate). quality: - @"$(MAKE)" docs @"$(MAKE)" autoformat @"$(MAKE)" test @@ -639,27 +624,6 @@ quality: # Full gate: quality (autoformat + test) followed by every lint check. quality-high: quality lint -.PHONY: readme-check -# Verify every role README matches the schema template (writes nothing; fails if any would change). -readme-check: - @"$${PYTHON}" -m cli.build.docs.readme --check - -.PHONY: readme-generate -# Generate/complete role README.md files from templates/roles/README.md.j2.tmpl. -# Usage: make readme-generate [role=] [override=true] [cosmos=true] [quick_setup=true] -# Param role: single role id (default: all roles) -# Param override: true regenerates managed sections even when present -# Param cosmos: true regenerates only the Cosmos diagram -# Param quick_setup: true regenerates only the Quick Setup section -readme-generate: - @"$${PYTHON}" -m cli.build.docs.readme $(role) $(if $(filter true,$(override)),--override) $(if $(filter true,$(cosmos)),--update-cosmos) $(if $(filter true,$(quick_setup)),--update-quick-setup) - -.PHONY: readme-index -# Regenerate the invokable-role overview table in the root README.md. -# Param check: true verifies only and fails when the table is outdated -readme-index: - @"$${PYTHON}" -m cli.build.docs.readme.overview $(if $(filter true,$(check)),--check) - .PHONY: requirements-archive # Archive fully-checked requirement files via pkgmgr (installs kpmx if missing). requirements-archive: diff --git a/aliases b/aliases index 606b77fa67..86976cdbb9 100644 --- a/aliases +++ b/aliases @@ -35,14 +35,12 @@ alias i8copal='m compose-app-logs' alias i8copare='m compose-app-restart' alias i8copu='m compose-up' alias i8core='m compose-restart' -alias i8cos='m cosmos' alias i8cose='m compose-system-purge' alias i8coso='m compose-stop' alias i8coxe='m compose-exec' alias i8di='m diagnose-disk-usage' alias i8dine='m diagnose-network' alias i8do='m dotenv' -alias i8docu='m docs' alias i8dofo='m dotenv-force' alias i8fi='m fix-chmod' alias i8fido='m fix-dockerignore' @@ -125,9 +123,6 @@ alias i8puwl='__i8puwl(){ [ -z "${1:-}" ] && { echo "usage: i8puwl int: if new_text is None: continue changed += 1 - rel = role_dir.relative_to(PROJECT_ROOT) if args.check: - print(f"would update {rel}/README.md: {', '.join(actions)}") + print(f"would update roles/{role_dir.name}/README.md: {', '.join(actions)}") continue (role_dir / ROLE_FILE_README).write_text(new_text, encoding="utf-8") - print(f"updated {rel}/README.md: {', '.join(actions)}") + print(f"updated roles/{role_dir.name}/README.md: {', '.join(actions)}") if args.check and changed: - print(f"\n{changed} README.md file(s) would change. Run: make readme-generate") + print(f"\n{changed} README.md file(s) would change.") return 1 if not args.check: print(f"\n{changed} README.md file(s) written.") diff --git a/cli/build/docs/readme/overview.py b/cli/build/docs/readme/overview.py index 2a96ff07db..1a0ba5a2f6 100644 --- a/cli/build/docs/readme/overview.py +++ b/cli/build/docs/readme/overview.py @@ -210,7 +210,7 @@ def main(argv: list[str] | None = None) -> int: print(f"{readme_path.name}: overview up to date") return 0 if args.check: - print(f"{readme_path.name}: overview outdated, run make readme-index") + print(f"{readme_path.name}: overview outdated") return 1 readme_path.write_text(updated, encoding="utf-8") print(f"{readme_path.name}: overview updated") diff --git a/cli/build/docs/readme/production.py b/cli/build/docs/readme/production.py new file mode 100644 index 0000000000..0f4c5c5f41 --- /dev/null +++ b/cli/build/docs/readme/production.py @@ -0,0 +1,67 @@ +"""Print the bash block a role's Quick Setup documents for production. + +The block is not committed: the documentation build renders Quick Setup into +its scratch checkout. CI replays the very same render, so what it executes is +by construction what a reader is told to run. + +Usage: + python -m cli.build.docs.readme.production [--roles-dir DIR] +""" + +from __future__ import annotations + +import argparse +import re +from pathlib import Path + +from cli.build.docs.readme.generate import _app_name, _is_invokable, _managed_blocks +from cli.build.docs.readme.sections import parse_readme +from utils.cache.files import PROJECT_ROOT, read_text +from utils.roles.mapping import ROLE_FILE_README + +HEADING = "### Production" +_BLOCK = re.compile(rf"^{re.escape(HEADING)}$.*?^```bash$\n(.*?)^```$", re.M | re.S) + + +def production_block(role_dir: Path, role_name: str) -> str: + """Return the role's rendered production bash block. + + Args: + role_dir: the role's directory. + role_name: the role id. + + Returns: + The block's body, without the fences. + + Raises: + ValueError: the render carries no Quick Setup production block. + """ + readme = role_dir / ROLE_FILE_README + preamble = parse_readme(read_text(str(readme))).preamble if readme.is_file() else "" + quick_setup = _managed_blocks( + role_dir, + role_name, + _app_name(preamble, role_name), + invokable=_is_invokable(role_name), + ).get("Quick Setup") + match = _BLOCK.search(quick_setup or "") + if match is None: + raise ValueError(f"{role_name}: Quick Setup has no {HEADING} bash block") + return match.group(1) + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + parser.add_argument("role") + parser.add_argument("--roles-dir", default=str(PROJECT_ROOT / "roles")) + args = parser.parse_args(argv) + + role_dir = Path(args.roles_dir) / args.role + if not role_dir.is_dir(): + parser.error(f"Unknown role: {role_dir}") + print(production_block(role_dir, args.role), end="") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/docs/contributing/artefact/files/role/readme_md.md b/docs/contributing/artefact/files/role/readme_md.md index 36e5c8e417..c9474c08b5 100644 --- a/docs/contributing/artefact/files/role/readme_md.md +++ b/docs/contributing/artefact/files/role/readme_md.md @@ -40,32 +40,7 @@ This role deploys Nextcloud using Docker Compose … For administration details see [Administration.md](./Administration.md). ``` -### 4. Cosmos (required) 🌌 - -A `## Cosmos` section MUST contain a single Mermaid `flowchart` that places the role in the Infinito.Nexus cosmos. Group the nodes with `subgraph`s into three families: - -- **Capabilities** β€” the containers/components this role deploys (from `meta/services.yml`). -- **Dependencies** β€” the central services and sibling roles it consumes (the `enabled: "{{ '' in group_names }}"` service flags, plus `run_after` and any `meta/main.yml` `dependencies`). -- **Cosmos** β€” the outward reach: federation peers, external networks bridged in, upstream projects. - -Draw only what the role metadata declares; do not invent services. Mermaid node ids MUST NOT be reserved words (`call`, `end`, `click`, `class`, `graph`, `style`, `subgraph`). - -````markdown -## Cosmos - -```mermaid -flowchart LR - subgraph deps [Dependencies] - postgres["svc-db-postgres"] - end - subgraph role [web-app-example] - app["App container"] - end - postgres --> app -``` -```` - -### 5. Features (required) ✨ +### 4. Features (required) ✨ A bulleted list of the most important capabilities. Each item MUST start with a **bold** label followed by a colon and a short explanation. @@ -77,12 +52,12 @@ Each item MUST start with a **bold** label followed by a colon and a short expla - **LDAP Integration:** Authenticate users via a central directory … ``` -### 6. Use Cases (optional) 🎯 +### 5. Use Cases (optional) 🎯 Use this section for the concrete scenarios the role is a good fit for, when they are not obvious from Description and Overview. Omit it for roles where the use cases are self-evident. -### 7. Developer Notes (optional) πŸ”§ +### 6. Developer Notes (optional) πŸ”§ Link to role-local documentation files such as `Administration.md`, `Installation.md`, or `Development.md`. You MUST use file-name link text. Never use the full path. @@ -93,7 +68,7 @@ You MUST use file-name link text. Never use the full path. See [Administration.md](./Administration.md) for live container inspection and LDAP configuration. ``` -### 8. Further Resources (optional) πŸ”— +### 7. Further Resources (optional) πŸ”— A list of external links relevant to the software or the deployment. Link text MUST be a descriptive label or the domain name. Never use the full URL. @@ -105,19 +80,17 @@ Link text MUST be a descriptive label or the domain name. Never use the full URL - [Nextcloud Admin Manual](https://docs.nextcloud.com/…) ``` -### 9. Credits (required) πŸ™ +## Generated Sections πŸ€– -Always the last section. MUST follow this fixed format: +`Cosmos`, `Quick Setup` and `Credits` MUST NOT appear in a committed role README. The documentation build derives them from role metadata and writes them into its own scratch checkout, so a committed copy goes stale without anyone noticing. [test_readme.py](../../../../../tests/lint/ansible/roles/test_readme.py) fails on one. -```markdown -## Credits +| Section | Derived from | +| --- | --- | +| Cosmos | `meta/services.yml`, `meta/main.yml` `dependencies`, `run_after` | +| Quick Setup | the role's invokability in `categories.yml`, plus `meta/services.yml` `guide_companions` | +| Credits | `galaxy_info.author` in `meta/main.yml` | -Implemented by **[Author name](Author URL)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). -``` - -`Author name` MUST equal `galaxy_info.author` in the role's `meta/main.yml` (the author single point of truth). It MAY be wrapped in a Markdown link as shown, or left as plain bold text (`Implemented by **Author name**.`) when no author URL applies. +To read one without a full build, render it: `python -m cli.build.docs.readme.production ` prints the Production block CI replays. ## Formatting Rules πŸ“ diff --git a/roles/dev-arduino/README.md b/roles/dev-arduino/README.md index 2aaaef451a..7536650487 100644 --- a/roles/dev-arduino/README.md +++ b/roles/dev-arduino/README.md @@ -10,23 +10,6 @@ Learn more at the [Arduino Project Website](https://www.arduino.cc/), [Arch Wiki Building upon the general developer persona, this role focuses on embedded and microcontroller development. It ensures that the system has the correct packages and permissions to work with Arduino boards via USB. -## Cosmos - -The diagram places Arduino Development Utilities in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_dev_core["dev-core πŸ’» βš™οΈ"] - end - subgraph role [dev-arduino πŸ’»] - svc_arduino["arduino"] - end - dep_dev_core -- "1:1" --> svc_arduino -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The role enables a ready-to-use Arduino development setup by installing necessary tools and configuring user permissions for serial access. @@ -36,9 +19,3 @@ The role enables a ready-to-use Arduino development setup by installing necessar - **Installs Arduino IDE & Docs:** Provides GUI and offline references. - **User Group Configuration:** Adds the developer to `uucp` and `lock` groups for serial communication. - **Persona Integration:** Extends `dev-core` with embedded-specific tools. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-base-devel/README.md b/roles/dev-base-devel/README.md index eed6b9b078..38f76f9791 100644 --- a/roles/dev-base-devel/README.md +++ b/roles/dev-base-devel/README.md @@ -8,19 +8,6 @@ Base development toolchains provide the core build tools (compilers, linkers, ma This role installs distro-specific equivalents of core build tooling so systems are ready for compiling software from source. After deploying this role, all common build dependencies are available on the system. -## Cosmos - -The diagram places Base Development Toolchain in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-base-devel πŸ’»] - svc_base_devel["base-devel"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - Installs distro-specific base development packages: @@ -34,9 +21,3 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - [Arch Linux: base-devel package](https://archlinux.org/packages/core/any/base-devel/) - [Debian package: build-essential](https://packages.debian.org/stable/build-essential) - [DNF groups: development-tools](https://dnf.readthedocs.io/en/latest/command_ref.html#group-command) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-core/README.md b/roles/dev-core/README.md index a4742d68b9..6dae063722 100644 --- a/roles/dev-core/README.md +++ b/roles/dev-core/README.md @@ -8,25 +8,6 @@ This role builds upon core workstation and package management components to deliver a clean, editor-ready base for developers. It installs core tools and editors necessary to begin building, editing, and managing source code projects. -## Cosmos - -The diagram places Development Utilities in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-core πŸ’»] - svc_core["core"] - end - subgraph dependents [Dependents] - dpt_dev_arduino["dev-arduino πŸ’» βš™οΈ"] - dpt_dev_python["dev-python πŸ’» βš™οΈ"] - end - svc_core -- "1:1" --> dpt_dev_arduino - svc_core -- "1:1" --> dpt_dev_python -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose To reduce setup time and ensure consistency across developer workstations, this role prepares a functional and extensible foundation for software engineering work. @@ -36,9 +17,3 @@ To reduce setup time and ensure consistency across developer workstations, this - **Installs Visual Studio Code:** A powerful code editor with a wide plugin ecosystem. - **Extensible Design:** Acts as a base layer for more specific development stacks (e.g., web, Python, embedded). - **Persona Integration:** Serves as a reusable foundation for developer-focused workstation bundles. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-fakeroot/README.md b/roles/dev-fakeroot/README.md index 2ccbb41346..6042179c6f 100644 --- a/roles/dev-fakeroot/README.md +++ b/roles/dev-fakeroot/README.md @@ -10,19 +10,6 @@ Learn more about fakeroot on the [Debian Wiki](https://wiki.debian.org/FakeRoot) This role automates the installation of fakeroot via the OS package manager, ensuring that users can simulate superuser operations without requiring elevated privileges. -## Cosmos - -The diagram places Fakeroot in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-fakeroot πŸ’»] - svc_fakeroot["fakeroot"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the installation of fakeroot so that users can simulate superuser operations without requiring elevated privileges. This is particularly useful in development environments and during package building processes. @@ -32,9 +19,3 @@ The purpose of this role is to automate the installation of fakeroot so that use - **Automated Installation:** Installs fakeroot via the OS package manager. - **Idempotent Execution:** Ensures that fakeroot is installed and remains up to date. - **Simplified Setup:** Minimizes manual installation steps for environments where fakeroot is required. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-gcc/README.md b/roles/dev-gcc/README.md index 61f822e07c..8f1f80a5d9 100644 --- a/roles/dev-gcc/README.md +++ b/roles/dev-gcc/README.md @@ -10,19 +10,6 @@ Learn more about GCC on [Wikipedia](https://en.wikipedia.org/wiki/GNU_Compiler_C Tailored for Arch Linux, this role installs GCC and optionally sets up additional development utilities. It ensures the package is installed via the system package manager and ready to compile code in a variety of programming languages. -## Cosmos - -The diagram places GCC in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-gcc πŸ’»] - svc_gcc["gcc"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the provisioning of a development-ready environment by ensuring the GCC toolchain is properly installed and available. @@ -32,9 +19,3 @@ The purpose of this role is to automate the provisioning of a development-ready - **Installs GCC:** Uses `pacman` to install the `gcc` package. - **Minimal Setup:** No unnecessary dependencies are installed. - **Reusable Role:** Can be used as a foundational component for software development, CI/CD pipelines, and build environments. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-git/README.md b/roles/dev-git/README.md index 842d0a0a1c..52d3a3a8e8 100644 --- a/roles/dev-git/README.md +++ b/roles/dev-git/README.md @@ -8,19 +8,6 @@ This Ansible role installs Git on the target system using the Pacman package man Designed for Arch Linux systems, this role leverages the `pacman` module to install Git. It uses a fact (`run_once_dev_git`) to control task execution, ensuring that the Git installation is performed only once per run. -## Cosmos - -The diagram places Git in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-git πŸ’»] - svc_git["git"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the installation of Git in a consistent and idempotent manner. It is especially useful in environments where Git is a prerequisite for further automation or development tasks. @@ -30,9 +17,3 @@ The purpose of this role is to automate the installation of Git in a consistent - **Git Installation:** Uses the Pacman package manager to install Git. - **Idempotent Execution:** Sets a fact to guarantee that the installation tasks are executed only once. - **Optimized Deployment:** Suitable for use in multi-host environments to avoid redundant installations. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-java/README.md b/roles/dev-java/README.md index c10c562a87..f9aa7e0777 100644 --- a/roles/dev-java/README.md +++ b/roles/dev-java/README.md @@ -8,23 +8,6 @@ Installs OpenJDK 11 (`jdk11-openjdk`) on Pacman-based systems to provide a Java This README file is for the Java role, which is part of the `infinito`. The role is specifically designed to automate the installation of Java on a system, focusing on the OpenJDK 11 version. -## Cosmos - -The diagram places Java in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-java πŸ’»] - svc_java["java"] - end - subgraph dependents [Dependents] - dpt_dsk_bluray_player["dsk-bluray-player πŸ’» βš™οΈ"] - end - svc_java -- "1:1" --> dpt_dsk_bluray_player -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. @@ -59,9 +42,3 @@ This role is focused on installing JDK 11, but it can be easily modified to inst ## Support and Contribution For support, feedback, or contributions to the role, please open an issue or submit a pull request in the `infinito` repository. Contributions that enhance the role or broaden its applicability are greatly appreciated. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-locales/README.md b/roles/dev-locales/README.md index 40075d91e4..e9d44263f6 100644 --- a/roles/dev-locales/README.md +++ b/roles/dev-locales/README.md @@ -19,27 +19,8 @@ This Ansible role manages the system locale configuration by deploying `locale.g - Templates are only reapplied if changed - `locale-gen` only re-runs when the template changes -## Cosmos - -The diagram places Locales in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-locales πŸ’»] - svc_locales["locales"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - Full control over uncommented locales in `locale.gen` - Simple override via templates in your role directory - Works on any system supporting `locale-gen` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-make/README.md b/roles/dev-make/README.md index 741e951b05..8ee9a79314 100644 --- a/roles/dev-make/README.md +++ b/roles/dev-make/README.md @@ -10,19 +10,6 @@ Learn more about GNU Make on the [GNU Make Homepage](https://www.gnu.org/softwar This role ensures that GNU Make is installed on the target system. It is intended for environments where automated build processes or custom software compilation are required. -## Cosmos - -The diagram places Make Installation in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-make πŸ’»] - svc_make["make"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to provide an automated, idempotent installation of GNU Make, ensuring that the tool is available system-wide for building software. It is ideal for developers and system administrators who require a reliable build system. @@ -32,9 +19,3 @@ The purpose of this role is to provide an automated, idempotent installation of - **Installs GNU Make:** Uses Pacman to install the `make` package. - **Idempotent Execution:** Ensures that Make is installed only once. - **System-Wide Availability:** Makes GNU Make available for all users on the system. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-nix/README.md b/roles/dev-nix/README.md index 209c69a2dd..77446d5793 100644 --- a/roles/dev-nix/README.md +++ b/roles/dev-nix/README.md @@ -18,19 +18,6 @@ up-to-date Nix installation. This role installs the Nix package manager via pacman on Arch x86_64 or via the official installer with SHA256 verification. -## Cosmos - -The diagram places dev-nix in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-nix πŸ’»] - svc_nix["nix"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Installation Strategy The role automatically selects the appropriate installation method: @@ -92,9 +79,3 @@ checksum. - Nix project: - Nix releases: - Infinito.Nexus License: - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-nodejs/README.md b/roles/dev-nodejs/README.md index df021d25d3..8da5e81132 100644 --- a/roles/dev-nodejs/README.md +++ b/roles/dev-nodejs/README.md @@ -8,19 +8,6 @@ This Ansible role installs Node.js on the target system using the native package Optimized for Archlinux and Debian-based systems, this role ensures the presence of Node.js for use in Node-based applications or scripts. It serves as a foundational role for projects that depend on Node.js runtimes or utilities like Puppeteer. -## Cosmos - -The diagram places Node.js in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-nodejs πŸ’»] - svc_nodejs["nodejs"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Node.js Installation:** Installs the latest Node.js version available via the system's package manager. @@ -30,9 +17,3 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( Infinito.Nexus Community License (Non-Commercial) [https://s.infinito.nexus/license](https://s.infinito.nexus/license) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-npm/README.md b/roles/dev-npm/README.md index 6e54f69942..5cf020391b 100644 --- a/roles/dev-npm/README.md +++ b/roles/dev-npm/README.md @@ -8,19 +8,6 @@ This Ansible role installs npm and optionally runs `npm ci` within a given proje Designed for use in Node-based projects, this role installs npm and can execute a clean install (`npm ci`) to ensure consistent dependency trees. -## Cosmos - -The diagram places npm in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-npm πŸ’»] - svc_npm["npm"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **npm Installation:** Ensures the `npm` package manager is installed. @@ -40,9 +27,3 @@ vars: Infinito.Nexus Community License (Non-Commercial) [https://s.infinito.nexus/license](https://s.infinito.nexus/license) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-python/README.md b/roles/dev-python/README.md index 0a8f7054cf..745aac1699 100644 --- a/roles/dev-python/README.md +++ b/roles/dev-python/README.md @@ -10,23 +10,6 @@ Learn more at the [Python Official Site](https://www.python.org/), the [Arch Wik This role provides the essential tooling for Python developers, enabling immediate use of `python` and `pip` from the command line. It supports both general-purpose scripting and advanced software engineering workflows. -## Cosmos - -The diagram places Python Development Utilities in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_dev_core["dev-core πŸ’» βš™οΈ"] - end - subgraph role [dev-python πŸ’»] - svc_python["python"] - end - dep_dev_core -- "1:1" --> svc_python -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose To simplify and standardize the provisioning of Python-ready environments for developers, students, data scientists, and automation engineers. @@ -53,9 +36,3 @@ Easily extend this role with: - Python virtualenv tools (`python-virtualenv`, `pyenv`) - Popular libraries (`numpy`, `requests`, `flask`) - Framework-specific roles (e.g., `dev-python-django`) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-shell/README.md b/roles/dev-shell/README.md index 587d7e098a..485ca07b87 100644 --- a/roles/dev-shell/README.md +++ b/roles/dev-shell/README.md @@ -8,19 +8,6 @@ This Ansible role ensures that [.profile](https://en.wikipedia.org/wiki/Bourne_s By standardizing `.profile` as the central source for environment configuration, this role ensures consistent shell behavior. It does **not** manage the contents of `.profile` itself; it only guarantees that it is sourced by supported shells. -## Cosmos - -The diagram places Shell in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dev-shell πŸ’»] - svc_shell["shell"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to unify shell environment setup across Bash and Zsh. It minimizes duplication and confusion by encouraging the use of `.profile` for shared configuration such as environment variables and agent settings. @@ -30,9 +17,3 @@ The purpose of this role is to unify shell environment setup across Bash and Zsh - **Centralized Configuration:** Promotes `.profile` as the single source for shared shell settings. - **Cross-Shell Compatibility:** Ensures both Bash and Zsh source `.profile` properly. - **Non-Invasive:** Does not alter the content of `.profile`. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/drv-epson-multiprinter/README.md b/roles/drv-epson-multiprinter/README.md index 4c4c203db7..084c44b647 100644 --- a/roles/drv-epson-multiprinter/README.md +++ b/roles/drv-epson-multiprinter/README.md @@ -8,62 +8,10 @@ Installs Epson multifunction printer drivers and scanning utilities (escpr, imag This role installs Epson multifunction printer drivers and scanning utilities (escpr, imagescan) via Pacman and AUR on Arch Linux. -## Cosmos - -The diagram places Epson Multiprinter Driver in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [drv-epson-multiprinter πŸ’»] - svc_epson_multiprinter["epson-multiprinter"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Epson Multiprinter Driver onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=drv-epson-multiprinter full_cycle=false -``` - -### Production - -Install Epson Multiprinter Driver directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=drv-epson-multiprinter -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Other Resources - @@ -74,9 +22,3 @@ infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - - - - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/drv-intel/README.md b/roles/drv-intel/README.md index 2695bd10bb..f08bea6d36 100644 --- a/roles/drv-intel/README.md +++ b/roles/drv-intel/README.md @@ -13,69 +13,11 @@ Package name differs across distributions: - Fedora: `libva-intel-media-driver` - CentOS Stream 9: `libva-intel-hybrid-driver` (via EPEL) -## Cosmos - -The diagram places Intel Driver in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [drv-intel πŸ’»] - svc_intel["intel"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - Idempotent installation of Intel media drivers - Supports Arch, Debian, Ubuntu, Fedora, CentOS Stream -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Intel Driver onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=drv-intel full_cycle=false -``` - -### Production - -Install Intel Driver directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=drv-intel -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources - [Intel Media Driver upstream documentation](https://01.org/intel-media-sdk) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/drv-lid-switch/README.md b/roles/drv-lid-switch/README.md index 3ec0ac8271..115fcf4dcb 100644 --- a/roles/drv-lid-switch/README.md +++ b/roles/drv-lid-switch/README.md @@ -11,19 +11,6 @@ This role addresses a common issue on Linux laptops: closing the lid while docke - Hibernate on lid close when on battery - Lock the session when on AC power or docked -## Cosmos - -The diagram places LID Switch Driver in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [drv-lid-switch πŸ’»] - svc_lid_switch["lid-switch"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to enforce a consistent and predictable lid switch behavior across power states, improving usability on laptops that otherwise behave unpredictably when the lid is closed. @@ -34,48 +21,3 @@ The purpose of this role is to enforce a consistent and predictable lid switch b - **Systemd Integration:** Applies proper `logind.conf` settings for lid switch handling. - **Power-aware Configuration:** Differentiates between battery, AC power, and docked state. - **Idempotent Design:** Ensures safe re-runs and minimal unnecessary restarts. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy LID Switch Driver onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=drv-lid-switch full_cycle=false -``` - -### Production - -Install LID Switch Driver directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=drv-lid-switch -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/drv-non-free/README.md b/roles/drv-non-free/README.md index 082243344c..24a1e71f57 100644 --- a/roles/drv-non-free/README.md +++ b/roles/drv-non-free/README.md @@ -10,19 +10,6 @@ This Ansible role installs non-free GPU drivers on Arch Linux systems by invokin - Automatically detects your PCI graphics adapter and installs the recommended non-free driver - Designed to be run once per host to provision proprietary GPU support -## Cosmos - -The diagram places Proprietary Drivers in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [drv-non-free πŸ’»] - svc_non_free["non-free"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automatic Hardware Detection** @@ -34,51 +21,6 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - **Simple Execution** Single-task role with minimal overhead. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Proprietary Drivers onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=drv-non-free full_cycle=false -``` - -### Production - -Install Proprietary Drivers directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=drv-non-free -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources - [Arch Linux mhwd Package](https://archlinux.org/packages/?q=manjaro) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-bluray-player/README.md b/roles/dsk-bluray-player/README.md index 707220aebc..b3e4cc54c6 100644 --- a/roles/dsk-bluray-player/README.md +++ b/roles/dsk-bluray-player/README.md @@ -13,23 +13,6 @@ This Ansible role installs and configures all the software required for Blu-ray - Contains commented-out tasks for optional AUR packages (`aacskeys`, `libbdplus`) you can enable as needed. - Designed for idempotent execution on Arch Linux and derivatives. -## Cosmos - -The diagram places Blue-ray Disc in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_dev_java["dev-java πŸ’» βš™οΈ"] - end - subgraph role [dsk-bluray-player πŸ’»] - svc_bluray_player["bluray-player"] - end - dep_dev_java -- "1:1" --> svc_bluray_player -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **VLC Installation** @@ -47,53 +30,8 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - **Arch Linux–Optimized** Leverages Pacman for fast and reliable package management. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Blue-ray Disc onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-bluray-player full_cycle=false -``` - -### Production - -Install Blue-ray Disc directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-bluray-player -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources - [Arch Linux Wiki: Blu-ray Playback](https://wiki.archlinux.org/title/Blu-ray#Using_aacskeys) - [Play Blu-ray with VLC Guide](https://videobyte.de/play-blu-ray-with-vlc) - [FV Online DB – Blu-ray Tools](http://fvonline-db.bplaced.net/) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-chromium/README.md b/roles/dsk-chromium/README.md index edd557fc6e..8ec695e7a0 100644 --- a/roles/dsk-chromium/README.md +++ b/roles/dsk-chromium/README.md @@ -8,19 +8,6 @@ This Ansible role installs and configures the Chromium browser along with essent Designed for various Linux distributions, this role manages the installation of the Chromium browser using the system’s package manager. It configures Chromium's managed policies to automatically deploy key browser extensions, ensuring that users always have a secure and consistent environment. This role integrates seamlessly with other system management roles for a holistic deployment. -## Cosmos - -The diagram places Chromium in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-chromium πŸ’»] - svc_chromium["chromium"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the provisioning of a secure Chromium environment in a consistent and maintainable way. It reduces manual configuration steps and guarantees that critical browser extensions are enforced, making it ideal for both production and personal deployments. @@ -33,45 +20,6 @@ The purpose of this role is to automate the provisioning of a secure Chromium en - **Cross-Platform Support:** Handles package variations for multiple Linux distributions. - **Seamless Integration:** Provides a stable and secure browsing setup as part of broader system automation workflows. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Chromium onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-chromium full_cycle=false -``` - -### Production - -Install Chromium directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-chromium -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Addons This role force-installs the following Chromium browser extensions via managed Enterprise Policies. They are declared in `meta/addons/` and rendered into the CRX install list. @@ -83,9 +31,3 @@ This role force-installs the following Chromium browser extensions via managed E | privacy-badger | extension | enabled (required) | none | Playwright exemption: these are desktop browser extensions with no in-app web surface to drive, so no Playwright spec is required (requirement 026, Decision 11). - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-code/README.md b/roles/dsk-code/README.md index c855683b1a..1c751a3573 100644 --- a/roles/dsk-code/README.md +++ b/roles/dsk-code/README.md @@ -12,75 +12,9 @@ The role also carries the editor extensions of the agents the same host deploys: `dsk-gnt-cursor` and `dsk-gnt-pi` carry no entry in that map. Cursor is a full editor rather than an extension, and neither vendor publishes an extension on Open VSX, so there is nothing to install into Code for them. Both agents are used from their own binary. -## Cosmos - -The diagram places Code in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_dsk_gnt_claude["dsk-gnt-claude πŸ’»"] - dep_dsk_gnt_codex["dsk-gnt-codex πŸ’»"] - end - subgraph role [dsk-code πŸ’»] - svc_code["code"] - svc_claude["claude"] - svc_codex["codex"] - end - dep_dsk_gnt_claude -. "0..1" .-> svc_claude - dep_dsk_gnt_codex -. "0..1" .-> svc_codex -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Flavor selectable:** one setting switches between Code - OSS, VSCodium and the Microsoft build. - **Conflict-free switch:** the other flavors are removed first, because they claim the same binary. - **Agent-aware:** an agent role on the same host brings its editor extension along. - **Refused early:** an unknown flavor aborts the deploy with the list of carried flavors. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Code onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-code full_cycle=false -``` - -### Production - -Install Code directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-code -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-copyq/README.md b/roles/dsk-copyq/README.md index da81e450f9..9f2458fa28 100644 --- a/roles/dsk-copyq/README.md +++ b/roles/dsk-copyq/README.md @@ -8,69 +8,11 @@ This role installs the CopyQ clipboard manager on Pacman-based systems (e.g. Arch Linux) and ensures it is started automatically for the current user. -## Cosmos - -The diagram places CopyQ in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-copyq πŸ’»] - svc_copyq["copyq"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy CopyQ onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-copyq full_cycle=false -``` - -### Production - -Install CopyQ directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-copyq -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources - [CopyQ official site](https://hluk.github.io/CopyQ/) - [Arch Wiki: Clipboard](https://wiki.archlinux.org/title/Clipboard) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-docker/README.md b/roles/dsk-docker/README.md index 07a114d983..007d3c8ceb 100644 --- a/roles/dsk-docker/README.md +++ b/roles/dsk-docker/README.md @@ -8,19 +8,6 @@ Installs Docker and Docker Compose, and adds a user to the Docker group for non- This playbook, `dsk-docker`, is part of a larger collection housed within the `infinito` repository. It is specifically tailored for setting up Docker and Docker Compose on personal computers (PCs) used for development purposes. The primary goal is to facilitate a development environment on individual workstations rather than configuring servers for hosting or distributing Docker images. -## Cosmos - -The diagram places Workstation Docker in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-docker πŸ’»] - svc_docker["docker"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features The `main.yml` file in the `dsk-docker` role consists of two primary tasks: @@ -29,45 +16,6 @@ The `main.yml` file in the `dsk-docker` role consists of two primary tasks: 2. **User Group Configuration**: This task adds a specified user (denoted as `{{users.client.username}}`) to the Docker user group. This is crucial for allowing the specified user to interact with Docker without needing superuser permissions. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Workstation Docker onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-docker full_cycle=false -``` - -### Production - -Install Workstation Docker directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-docker -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Use Case The playbook is designed for developers who require Docker in their local development environments. It simplifies the process of Docker installation and configuration, making it straightforward for developers to start containerizing their applications without the complexities often encountered in a server or production environment. @@ -94,9 +42,3 @@ To run this playbook: ## Support & Contribution For support, suggestions, or contributions, please raise an issue or a pull request in the `infinito` repository. This project welcomes contributions from the developer community. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-dotlinker/README.md b/roles/dsk-dotlinker/README.md index 1aa30b0acc..680a6521c2 100644 --- a/roles/dsk-dotlinker/README.md +++ b/roles/dsk-dotlinker/README.md @@ -12,62 +12,10 @@ It can be included multiple times from different roles, each time with a differe This role installs and applies dotlinker (doli) mappings (generic role). -## Cosmos - -The diagram places Dotlinker in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-dotlinker πŸ’»] - svc_dotlinker["dotlinker"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Dotlinker onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-dotlinker full_cycle=false -``` - -### Production - -Install Dotlinker directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-dotlinker -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Usage Call this role via `include_role` and pass mappings through `dotlinker_mappings`: @@ -87,9 +35,3 @@ The role will register mappings using `doli add` and can optionally run `doli pu - `dotlinker_package_name` (default: `doli`) - `dotlinker_replace` (default: `true`): pass `--replace` to `doli add` - `dotlinker_apply` (default: `true`): run `doli pull` after adding mappings - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-firefox/README.md b/roles/dsk-firefox/README.md index 44a348306a..f331a7c6d8 100644 --- a/roles/dsk-firefox/README.md +++ b/roles/dsk-firefox/README.md @@ -8,19 +8,6 @@ This Ansible role installs and configures Firefox on Arch Linux systems, enforci Tailored for Arch Linux, this role handles the installation of Firefox using the system’s package manager (`pacman`). It deploys a `policies.json` file to Firefox’s distribution directory, ensuring that critical extensions are automatically installed via Firefox Enterprise Policies. -## Cosmos - -The diagram places Firefox in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-firefox πŸ’»] - svc_firefox["firefox"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The role automates the provisioning of a secure Firefox environment, reducing manual configuration and ensuring consistency across deployments. It is ideal for environments where a standardized and secure browsing setup is required. @@ -32,45 +19,6 @@ The role automates the provisioning of a secure Firefox environment, reducing ma - **Streamlined Configuration:** Automatically creates necessary directories and applies correct file permissions. - **Seamless Integration:** Easily integrates with other automation roles for a complete system setup. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Firefox onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-firefox full_cycle=false -``` - -### Production - -Install Firefox directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-firefox -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Addons Role-level extensions are declared in `meta/addons/` (unified addon contract, requirement 026): @@ -84,9 +32,3 @@ Both extensions are force-installed through Firefox Enterprise Policies; each ad They carry no cross-role dependency, so no `bridges:` key is present. **Playwright exemption:** these are desktop browser extensions with no in-app web surface to drive, so they are exempt from the per-addon Playwright spec (requirement 026, Decision 11). - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-git/README.md b/roles/dsk-git/README.md index 450e35a0c3..b1f6dfe79d 100644 --- a/roles/dsk-git/README.md +++ b/roles/dsk-git/README.md @@ -8,23 +8,6 @@ This role installs and configures Git on the target system using the Pacman pack This role installs Git and configures it using a custom git-configurator for personal computers. -## Cosmos - -The diagram places Git in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-git πŸ’»] - svc_git["git"] - end - subgraph dependents [Dependents] - dpt_dsk_ssh["dsk-ssh πŸ’» βš™οΈ"] - end - svc_git -- "1:1" --> dpt_dsk_ssh -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the installation and configuration of Git for personal computers. By leveraging a custom git-configurator, it sets up essential Git settings such as merge options, rebase preferences, user information, and GPG signing, ensuring a consistent environment for version control operations. @@ -35,48 +18,3 @@ The purpose of this role is to automate the installation and configuration of Gi - **Custom Git Configuration:** Invokes the git-configurator tool to merge user-specific configuration options. - **Idempotent Task Execution:** Uses host-level run-once artifacts to ensure that configuration tasks are executed only once per host. - **Integration:** Works alongside the pkgmgr role to streamline overall system setup. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Git onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-git full_cycle=false -``` - -### Production - -Install Git directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-git -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnome-caffeine/README.md b/roles/dsk-gnome-caffeine/README.md index e2b7edfa02..3f18540d92 100644 --- a/roles/dsk-gnome-caffeine/README.md +++ b/roles/dsk-gnome-caffeine/README.md @@ -8,19 +8,6 @@ This role installs [caffeine-ng](https://codeberg.org/WhyNotHugo/caffeine-ng), a This role installs caffeine-ng and configures it to autostart for preventing screen sleep on GNOME. -## Cosmos - -The diagram places GNOME Caffeine in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-gnome-caffeine πŸ’»] - svc_gnome_caffeine["gnome-caffeine"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to ensure uninterrupted workflow by keeping the desktop active during long-running tasks or presentations. By automatically starting caffeine-ng, it prevents unwanted screen locking or sleep modes on GNOME systems. @@ -31,48 +18,3 @@ The purpose of this role is to ensure uninterrupted workflow by keeping the desk - Creates the autostart directory if it does not exist. - Deploys a customized desktop entry to ensure caffeine-ng starts automatically. - Enhances user experience by maintaining an active desktop environment. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy GNOME Caffeine onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-gnome-caffeine full_cycle=false -``` - -### Production - -Install GNOME Caffeine directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-gnome-caffeine -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnome-extensions/README.md b/roles/dsk-gnome-extensions/README.md index 502ebdb459..ffea67124a 100644 --- a/roles/dsk-gnome-extensions/README.md +++ b/roles/dsk-gnome-extensions/README.md @@ -10,19 +10,6 @@ Learn more about the CLI tool on its [GitHub page](https://github.com/kevinveenb This role configures GNOME Shell extensions and installs the CLI GNOME Extension Manager for managing extensions. -## Cosmos - -The diagram places GNOME Extensions Manager in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-gnome-extensions πŸ’»] - svc_gnome_extensions["gnome-extensions"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to enhance and customize the GNOME desktop environment by managing shell extensions. It simplifies the process of installing and configuring extensions, thereby improving productivity and desktop functionality. @@ -34,45 +21,6 @@ The purpose of this role is to enhance and customize the GNOME desktop environme - Executes extension configuration commands for streamlined management. - Provides an automated method for managing and updating GNOME extensions. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy GNOME Extensions Manager onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-gnome-extensions full_cycle=false -``` - -### Production - -Install GNOME Extensions Manager directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-gnome-extensions -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Addons This role is a generic GNOME-extension installer driven by `services.gnome-extensions.plugins`, a 3-tuple list (`action`, `uuid`, `url`) consumed by `cli-gnome-extension-manager`. @@ -80,9 +28,3 @@ It ships no concrete extensions of its own and reads no `meta/addons/` files. Roles that ship concrete GNOME extensions, such as [dsk-gnome](../dsk-gnome/), declare them through the unified addon contract under `meta/addons/` (requirement 026), with one file per extension (`mechanism: extension`, `source: upstream`, `config: { uuid, url }`); see that role for the per-file example. Playwright exemption: GNOME Shell extensions are desktop-only and have no in-app web surface to drive, so they carry no Playwright spec (Confirmed Decision 11). - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnome-terminal/README.md b/roles/dsk-gnome-terminal/README.md index 4c3bcfdc5a..2a34357b3d 100644 --- a/roles/dsk-gnome-terminal/README.md +++ b/roles/dsk-gnome-terminal/README.md @@ -10,19 +10,6 @@ Learn more about GNOME Terminal on [Wikipedia](https://en.wikipedia.org/wiki/GNO This role installs GNOME Terminal on Arch Linux, providing a modern terminal emulator for the GNOME desktop environment. -## Cosmos - -The diagram places GNOME Terminal in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-gnome-terminal πŸ’»] - svc_gnome_terminal["gnome-terminal"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to ensure that GNOME Terminal is installed and properly configured on Arch Linux systems, providing users with a robust and fully featured terminal emulator that integrates seamlessly with the GNOME desktop. @@ -33,48 +20,3 @@ The purpose of this role is to ensure that GNOME Terminal is installed and prope - Ensures the terminal emulator is available system-wide. - Supports modern features and configuration options offered by GNOME Terminal. - Enhances the overall usability and productivity of the GNOME desktop environment. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy GNOME Terminal onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-gnome-terminal full_cycle=false -``` - -### Production - -Install GNOME Terminal directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-gnome-terminal -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnome/README.md b/roles/dsk-gnome/README.md index c42563c621..c9a1681be9 100644 --- a/roles/dsk-gnome/README.md +++ b/roles/dsk-gnome/README.md @@ -12,19 +12,6 @@ This role aggregates various GNOME desktop components to ensure a cohesive and f This role aggregates essential GNOME desktop roles (including caffeine, extensions, and terminal) for a complete GNOME environment on Linux. -## Cosmos - -The diagram places GNOME Desktop in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-gnome πŸ’»] - svc_gnome["gnome"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to provide a complete GNOME desktop experience by orchestrating multiple sub-roles. This simplifies deployment and management by ensuring that all key components are installed and configured in a consistent, system-wide manner. @@ -37,45 +24,6 @@ The purpose of this role is to provide a complete GNOME desktop experience by or - Installs GNOME Terminal for a robust command-line interface. - Ensures a seamless and uniform GNOME environment on Arch Linux. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy GNOME Desktop onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-gnome full_cycle=false -``` - -### Production - -Install GNOME Desktop directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-gnome -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Addons Role-level GNOME Shell extensions are declared in `meta/addons/` (unified addon contract, requirement 026). @@ -88,9 +36,3 @@ They are installed through `cli-gnome-extension-manager`, which receives the `ac | `dash-to-panel` | `extension` | required (always enabled) | none | These are desktop GNOME Shell extensions with no in-app web surface to drive, so they are exempt from the Playwright requirement (requirement 026, Decision 11). - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnt-claude/README.md b/roles/dsk-gnt-claude/README.md index 9cb2d0c4bf..cadbeb306c 100644 --- a/roles/dsk-gnt-claude/README.md +++ b/roles/dsk-gnt-claude/README.md @@ -10,76 +10,9 @@ The agent speaks the Anthropic Messages API, which the LiteLLM gateway serves al The gateway mints its virtual keys from the inventory it is deployed from, and a workstation is deployed from a different one. The key is therefore an operator-supplied credential on the workstation side: mint it on the server, then put it into the workstation inventory. -## Cosmos - -The diagram places Claude Code in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_svc_ai_litellm["svc-ai-litellm 🐳🐝"] - end - subgraph role [dsk-gnt-claude πŸ’»] - svc_claude["claude"] - svc_litellm["litellm"] - end - subgraph dependents [Dependents] - dpt_dsk_code["dsk-code πŸ’»"] - end - dep_svc_ai_litellm -. "0..1" .-> svc_litellm - svc_claude -. "0..1" .-> dpt_dsk_code -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Gateway-backed:** `ANTHROPIC_BASE_URL` and `ANTHROPIC_AUTH_TOKEN` point the agent at the platform gateway. - **Explicit models:** `ANTHROPIC_MODEL` and `ANTHROPIC_DEFAULT_HAIKU_MODEL` name gateway aliases, because the vendor's own model ids do not exist there. - **No configuration without a key:** the settings file is written only once both the gateway URL and the key are set. - **User-owned:** the file belongs to the workstation user and is readable only by them. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Claude Code onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-gnt-claude full_cycle=false -``` - -### Production - -Install Claude Code directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-gnt-claude -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnt-codex/README.md b/roles/dsk-gnt-codex/README.md index 054a44173b..f65747a043 100644 --- a/roles/dsk-gnt-codex/README.md +++ b/roles/dsk-gnt-codex/README.md @@ -10,73 +10,6 @@ The role installs the `@openai/codex` npm package and, when the workstation also Codex reads its key from an environment variable rather than from its config file, so the role writes the key to a `0600` file under `~/.config/environment.d/` and names that variable in `config.toml`. A workstation whose gateway lives in another inventory leaves `services.codex.gateway_url` and `credentials.gateway_key` set by hand instead, and the loopback wiring stays out of the way. -## Cosmos - -The diagram places Codex in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_svc_ai_litellm["svc-ai-litellm 🐳🐝"] - end - subgraph role [dsk-gnt-codex πŸ’»] - svc_codex["codex"] - svc_litellm["litellm"] - end - subgraph dependents [Dependents] - dpt_dsk_code["dsk-code πŸ’»"] - end - dep_svc_ai_litellm -. "0..1" .-> svc_litellm - svc_codex -. "0..1" .-> dpt_dsk_code -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Feature:** Describe a capability. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Codex onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-gnt-codex full_cycle=false -``` - -### Production - -Install Codex directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-gnt-codex -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnt-cursor/README.md b/roles/dsk-gnt-cursor/README.md index fec1cc9758..dedbb438f1 100644 --- a/roles/dsk-gnt-cursor/README.md +++ b/roles/dsk-gnt-cursor/README.md @@ -10,65 +10,7 @@ Cursor's CLI cannot be pointed at a custom OpenAI-compatible endpoint: it exchan The role therefore installs the editor and leaves the endpoint override to the operator. Nothing here pretends to configure a gateway that the product does not accept from a file. -## Cosmos - -The diagram places Cursor in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-gnt-cursor πŸ’»] - svc_cursor["cursor"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Installed, not faked:** the editor is provisioned; the endpoint override stays a documented operator step. - **Arch today:** the vendor ships neither a Debian nor an RPM repository, so only the Arch build is wired up. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Cursor onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-gnt-cursor full_cycle=false -``` - -### Production - -Install Cursor directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-gnt-cursor -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnt-pi/README.md b/roles/dsk-gnt-pi/README.md index 93cca7f735..6c7d75fa02 100644 --- a/roles/dsk-gnt-pi/README.md +++ b/roles/dsk-gnt-pi/README.md @@ -10,72 +10,9 @@ Pi reads its providers from `~/.pi/agent/models.json`. The role renders that fil As with every workstation agent here, the key is operator-supplied: the gateway mints it from the server inventory, and the workstation inventory carries it. -## Cosmos - -The diagram places Pi Coding Agent in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_svc_ai_litellm["svc-ai-litellm 🐳🐝"] - end - subgraph role [dsk-gnt-pi πŸ’»] - svc_pi["pi"] - svc_litellm["litellm"] - end - dep_svc_ai_litellm -. "0..1" .-> svc_litellm -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Gateway-backed:** one provider entry, no vendor credentials on the machine. - **Explicit model list:** the aliases come from the inventory, so the agent offers exactly what the gateway serves. - **No configuration without a key:** the file is written only once URL, key and model list are set. - **User-owned:** the file belongs to the workstation user and is readable only by them. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Pi Coding Agent onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-gnt-pi full_cycle=false -``` - -### Production - -Install Pi Coding Agent directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-gnt-pi -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnucash/README.md b/roles/dsk-gnucash/README.md index 0cb93dcba7..681673f7d5 100644 --- a/roles/dsk-gnucash/README.md +++ b/roles/dsk-gnucash/README.md @@ -8,62 +8,10 @@ Installs GnuCash finance management software on Pacman-based systems, ensuring t This Ansible role is responsible for installing GnuCash, a free and open-source financial management software, on systems utilizing the Pacman package manager. It's particularly useful for setting up GnuCash in a Linux environment with minimal manual intervention. -## Cosmos - -The diagram places GnuCash in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-gnucash πŸ’»] - svc_gnucash["gnucash"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy GnuCash onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-gnucash full_cycle=false -``` - -### Production - -Install GnuCash directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-gnucash -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Role: dsk-gnucash The `dsk-gnucash` role ensures that GnuCash is installed and maintained at its latest available version in the Pacman repositories. @@ -94,9 +42,3 @@ An example of how to use this role in your playbook: roles: - dsk-gnucash ``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-jrnl/README.md b/roles/dsk-jrnl/README.md index e6301852ff..d016b71edd 100644 --- a/roles/dsk-jrnl/README.md +++ b/roles/dsk-jrnl/README.md @@ -8,68 +8,10 @@ This role automates the installation of Jrnl using the `community.general.pacman` module for systems that support the Pacman package manager, ensuring that Jrnl is installed and up to date. -## Cosmos - -The diagram places Jrnl in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-jrnl πŸ’»] - svc_jrnl["jrnl"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Jrnl onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-jrnl full_cycle=false -``` - -### Production - -Install Jrnl directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-jrnl -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources - [Jrnl official documentation](https://jrnl.sh/) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-keepassxc/README.md b/roles/dsk-keepassxc/README.md index 62f1dfbb22..a6601ad62f 100644 --- a/roles/dsk-keepassxc/README.md +++ b/roles/dsk-keepassxc/README.md @@ -9,19 +9,6 @@ This role installs the KeePassXC desktop application on Pacman-based workstations through the system package manager. It is intended for personal-workstation roles in the desktop tier and does not configure databases, browser integrations, or autofill helpers. -## Cosmos - -The diagram places KeePassXC in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-keepassxc πŸ’»] - svc_keepassxc["keepassxc"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Local-first vault:** Keeps the password database on the workstation, with no mandatory cloud sync. @@ -29,52 +16,7 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - **Workstation scope:** Targets the desktop tier (`dsk-*`) and stays out of server inventories. - **Minimal footprint:** Does not enable services or autostart entries beyond what the package itself provides. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy KeePassXC onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-keepassxc full_cycle=false -``` - -### Production - -Install KeePassXC directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-keepassxc -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources - [KeePassXC](https://keepassxc.org/) - [KeePassXC documentation](https://keepassxc.org/docs/) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-laya/README.md b/roles/dsk-laya/README.md index 2fe31af81c..7d3eb931e4 100644 --- a/roles/dsk-laya/README.md +++ b/roles/dsk-laya/README.md @@ -12,67 +12,9 @@ The pinned build is the amd64 AppImage, and the role refuses a host of another a Laya keeps its own settings in `~/.laya/`, including the model providers it talks to. This role does not render that file: upstream documents the provider types but not the on-disk schema, so the provider is an operator step in the application's own settings. Pointing it at the platform gateway means adding a provider of type `openai_compatible`. -## Cosmos - -The diagram places Laya in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-laya πŸ’»] - svc_laya["laya"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Pinned and verified:** the AppImage version and its sha256 live in the role, and a mismatch aborts the deploy. - **Architecture-guarded:** a host that is not amd64 aborts before the download. - **Distribution-independent:** the AppImage runs on every supported family, so no vendor repository is needed. - **No invented configuration:** the provider setup stays in the application, because its file schema is not documented upstream. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Laya onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-laya full_cycle=false -``` - -### Production - -Install Laya directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-laya -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-libreoffice/README.md b/roles/dsk-libreoffice/README.md index 4fe0384b3d..42ce623025 100644 --- a/roles/dsk-libreoffice/README.md +++ b/roles/dsk-libreoffice/README.md @@ -10,23 +10,6 @@ Learn more about LibreOffice on the [official website](https://www.libreoffice.o This role installs LibreOffice along with Liberation fonts and language packages on Arch Linux systems for a complete office suite experience. -## Cosmos - -The diagram places LibreOffice in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_gen_hunspell["gen-hunspell πŸ’» βš™οΈ"] - end - subgraph role [dsk-libreoffice πŸ’»] - svc_libreoffice["libreoffice"] - end - dep_gen_hunspell -- "1:1" --> svc_libreoffice -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the installation and configuration of LibreOffice along with its language support on personal computers. This ensures that users have a consistent and fully functional office suite environment across their systems. @@ -37,48 +20,3 @@ The purpose of this role is to automate the installation and configuration of Li - **Customizable Flavor:** Supports installation of different LibreOffice flavors by dynamically setting the package name. - **Language Support:** Iterates through a list of desired language packages to ensure comprehensive localization. - **Seamless Integration:** Designed to work within a larger system setup environment, integrating with dependencies such as Hunspell for spell checking. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy LibreOffice onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-libreoffice full_cycle=false -``` - -### Production - -Install LibreOffice directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-libreoffice -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-micro/README.md b/roles/dsk-micro/README.md index 0bf1ff8453..b3209244f2 100644 --- a/roles/dsk-micro/README.md +++ b/roles/dsk-micro/README.md @@ -8,62 +8,10 @@ Installs micro CLI text editor on Pacman‑based systems. This role automates the installation of micro, a CLI text editor, on Pacman‑based systems. It uses the `community.general.pacman` module to ensure the editor is installed and up to date. -## Cosmos - -The diagram places micro in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-micro πŸ’»] - svc_micro["micro"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy micro onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-micro full_cycle=false -``` - -### Production - -Install micro directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-micro -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Requirements - Ansible 2.9 or higher @@ -97,9 +45,3 @@ Contributions are welcome! Please follow standard Ansible role conventions and b ## Other Resources For more context on this role and its development, see the related ChatGPT conversation. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-neovim/README.md b/roles/dsk-neovim/README.md index e55f0b7c0c..e372ef5e78 100644 --- a/roles/dsk-neovim/README.md +++ b/roles/dsk-neovim/README.md @@ -8,62 +8,10 @@ Installs neovim CLI text editor on Pacman‑based systems. This role automates the installation of neovim, a CLI text editor, on Pacman‑based systems. It uses the `community.general.pacman` module to ensure the editor is installed and up to date. -## Cosmos - -The diagram places Neovim in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-neovim πŸ’»] - svc_neovim["neovim"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Neovim onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-neovim full_cycle=false -``` - -### Production - -Install Neovim directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-neovim -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Requirements - Ansible 2.9 or higher @@ -97,9 +45,3 @@ Contributions are welcome! Please follow standard Ansible role conventions and b ## Other Resources For more context on this role and its development, see the related ChatGPT conversation. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-nextcloud/README.md b/roles/dsk-nextcloud/README.md index 88f914f8c3..4767221d4a 100644 --- a/roles/dsk-nextcloud/README.md +++ b/roles/dsk-nextcloud/README.md @@ -8,19 +8,6 @@ This Ansible role installs and configures the Nextcloud desktop client on Arch L Targeting user environments on Arch Linux (e.g., Manjaro), this role sets up the official `nextcloud-client` and dynamically links key directories from the user's home folder to Nextcloud. This makes it easy to use the Nextcloud client without needing to manually configure folders. -## Cosmos - -The diagram places Nextcloud Client ️ in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-nextcloud πŸ’»] - svc_nextcloud["nextcloud"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the configuration of cloud-integrated user directories by ensuring that common folders like `Downloads`, `Music`, and `Workspaces` are transparently redirected into a centralized cloud structure. This makes it easier to maintain sys-bkp-friendly, cloud-ready setups for homelab and professional workflows. @@ -31,48 +18,3 @@ The purpose of this role is to automate the configuration of cloud-integrated us - **Symbolic Linking of User Folders:** Maps home folders (e.g., `Documents`, `Videos`, `Workspaces`) into their Nextcloud equivalents. - **Dynamic Cloud Directory Resolution:** Builds the target cloud directory path from user and cloud variables. - **Dump Folder Mapping:** Links `InstantUpload` from the cloud to a `~/Dump` folder for quick camera/file access. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Nextcloud Client ️ onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-nextcloud full_cycle=false -``` - -### Production - -Install Nextcloud Client ️ directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-nextcloud -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-obs/README.md b/roles/dsk-obs/README.md index 77fbf73b40..1f86f1608d 100644 --- a/roles/dsk-obs/README.md +++ b/roles/dsk-obs/README.md @@ -9,19 +9,6 @@ This role installs the OBS Studio desktop application on Pacman-based workstations through the system package manager. It targets the desktop tier and does not configure scenes, capture devices, or streaming profiles. -## Cosmos - -The diagram places OBS Studio in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-obs πŸ’»] - svc_obs["obs"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Streaming and recording:** Provides the upstream OBS Studio binary for both live broadcasting and local recording. @@ -29,52 +16,7 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - **Workstation scope:** Targets the desktop tier (`dsk-*`) and stays out of server inventories. - **No state changes beyond install:** Does not enable services or write per-user OBS configuration. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy OBS Studio onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-obs full_cycle=false -``` - -### Production - -Install OBS Studio directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-obs -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources - [OBS Studio](https://obsproject.com/) - [OBS Studio knowledge base](https://obsproject.com/kb/) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-qbittorrent/README.md b/roles/dsk-qbittorrent/README.md index 7afb094a1b..f7b7911be2 100644 --- a/roles/dsk-qbittorrent/README.md +++ b/roles/dsk-qbittorrent/README.md @@ -8,62 +8,10 @@ Installs the qBittorrent torrent client from the distribution repositories. This README is for the `dsk-qbittorrent` role within the `infinito` repository. This role is specifically crafted for installing qBittorrent, a popular open-source torrent client, on personal computers. -## Cosmos - -The diagram places QBittorrent in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-qbittorrent πŸ’»] - svc_qbittorrent["qbittorrent"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy QBittorrent onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-qbittorrent full_cycle=false -``` - -### Production - -Install QBittorrent directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-qbittorrent -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Role Tasks The `main.yml` file in the `dsk-qbittorrent` role includes the following task: @@ -95,9 +43,3 @@ This role is primarily focused on installing qBittorrent, but it can be customiz ## Support and Contributions For support, feedback, or contributions, such as enhancing the role or adding additional torrent-related functionality, please open an issue or submit a pull request in the `infinito` repository. Contributions that enhance the usability or features of qBittorrent within this role are highly appreciated. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-retroarch/README.md b/roles/dsk-retroarch/README.md index f652088d66..f5d2927035 100644 --- a/roles/dsk-retroarch/README.md +++ b/roles/dsk-retroarch/README.md @@ -8,19 +8,6 @@ Designed for retro gaming enthusiasts, this role installs RetroArch along with its core assets and themes on Arch Linux systems. It ensures all UI styles are ready and provides a consistent emulator frontend interface. -## Cosmos - -The diagram places RetroArch in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-retroarch πŸ’»] - svc_retroarch["retroarch"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the deployment of a full-featured RetroArch environment, reducing manual setup and improving reproducibility across gaming setups. @@ -30,45 +17,6 @@ The purpose of this role is to automate the deployment of a full-featured RetroA - **Installs RetroArch:** Including the main [RetroArch package](https://archlinux.org/packages/extra/x86_64/retroarch/) and theme assets. - **UI Assets Support:** Both [XMB](https://docs.libretro.com/) and [Ozone](https://docs.libretro.com/) menu styles supported out of the box. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy RetroArch onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-retroarch full_cycle=false -``` - -### Production - -Install RetroArch directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-retroarch -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources - πŸ•ΉοΈ [RetroArch - Official Site](https://www.retroarch.com/) @@ -76,9 +24,3 @@ infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - πŸ“š [RetroArch on ArchWiki](https://wiki.archlinux.org/title/RetroArch) - 🧠 [RetroArch - Wikipedia](https://en.wikipedia.org/wiki/RetroArch) - 🎨 [UI Menus: XMB, Ozone, GLUI, RGUI](https://docs.libretro.com/) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-spotify/README.md b/roles/dsk-spotify/README.md index 54c7df6e9e..30a5593bcc 100644 --- a/roles/dsk-spotify/README.md +++ b/roles/dsk-spotify/README.md @@ -8,19 +8,6 @@ This Ansible role installs the [Spotify](https://www.spotify.com/) desktop clien Spotify is a digital music streaming service that gives you access to millions of songs and podcasts. The role calls `package_install` with the `spotify` id; [`meta/packages.yml`](meta/packages.yml) declares it as an AUR package on Arch Linux and as a deliberate no-op on the Debian and RedHat families, which do not archive the proprietary client. -## Cosmos - -The diagram places Spotify in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-spotify πŸ’»] - svc_spotify["spotify"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose To automate the installation of Spotify on Arch-based systems. @@ -30,51 +17,6 @@ To automate the installation of Spotify on Arch-based systems. - 🎧 Installs the official [Spotify AUR package](https://aur.archlinux.org/packages/spotify) - πŸ›  Resolves the package through the registry id `spotify` in [`meta/packages.yml`](meta/packages.yml) -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Spotify onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-spotify full_cycle=false -``` - -### Production - -Install Spotify directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-spotify -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Requirements - An Arch Linux based system; `package_install` sets up the unprivileged AUR build environment itself. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-ssh/README.md b/roles/dsk-ssh/README.md index 89ea96b909..950a91edff 100644 --- a/roles/dsk-ssh/README.md +++ b/roles/dsk-ssh/README.md @@ -8,23 +8,6 @@ This role is intended for Manjaro/Arch systems where `gnome-keyring` no longer reliably manages `ssh-agent` due to changes in behavior under Wayland. It works by deploying a `systemd --user` service, making SSH Agent integration predictable and independent of graphical environment quirks. -## Cosmos - -The diagram places SSH Agent in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_dsk_git["dsk-git πŸ’» βš™οΈ"] - end - subgraph role [dsk-ssh πŸ’»] - svc_ssh["ssh"] - end - dep_dsk_git -- "1:1" --> svc_ssh -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the provisioning of SSH agent capabilities and synchronize the `.ssh` directory from a Git repository. This enables users to access private repositories or authenticate with remote servers immediately after login. @@ -36,48 +19,3 @@ The purpose of this role is to automate the provisioning of SSH agent capabiliti - **Ensures environment compatibility** by injecting the `SSH_AUTH_SOCK` variable into either `.bash_profile` or `.profile`. - **Fails gracefully** with an optional debug message if the Git repository is unreachable. - **KeePassXC ready**: Ensures compatibility with password managers that support SSH agent integration. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy SSH Agent onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-ssh full_cycle=false -``` - -### Production - -Install SSH Agent directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-ssh -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-torbrowser/README.md b/roles/dsk-torbrowser/README.md index caed0f6a36..74d9d992f0 100644 --- a/roles/dsk-torbrowser/README.md +++ b/roles/dsk-torbrowser/README.md @@ -11,71 +11,13 @@ The `dsk-torbrowser` role uses the `community.general.pacman` module to: 1. Install **tor** (the core Tor network service) 2. Install **torbrowser-launcher** (the launcher for Tor Browser) -## Cosmos - -The diagram places Torbrowser in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-torbrowser πŸ’»] - svc_torbrowser["torbrowser"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features * Idempotent installation of Tor and Tor Browser Launcher * Ensures the Tor service is available for anonymous network traffic * Simplifies first-time setup of Tor Browser -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Torbrowser onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-torbrowser full_cycle=false -``` - -### Production - -Install Torbrowser directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-torbrowser -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources * [Tor Project documentation](https://www.torproject.org/) * [Infinito.Nexus GitHub repository](https://s.infinito.nexus/code) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-virtualbox/README.md b/roles/dsk-virtualbox/README.md index 254d12ce4f..9da7007d15 100644 --- a/roles/dsk-virtualbox/README.md +++ b/roles/dsk-virtualbox/README.md @@ -14,64 +14,6 @@ This role installs and configures VirtualBox and its kernel modules on Pacman-based systems, including extension packs and user group setup. -## Cosmos - -The diagram places Virtual Box in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-virtualbox πŸ’»] - svc_virtualbox["virtualbox"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Virtual Box onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-virtualbox full_cycle=false -``` - -### Production - -Install Virtual Box directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-virtualbox -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-zoom/README.md b/roles/dsk-zoom/README.md index 73a8a04138..bf157bc2a1 100644 --- a/roles/dsk-zoom/README.md +++ b/roles/dsk-zoom/README.md @@ -8,69 +8,11 @@ This role installs Zoom through `package_install` with the `zoom` id. [`meta/packages.yml`](meta/packages.yml) declares it as an AUR package on Arch Linux and as a deliberate no-op on the Debian and RedHat families, which do not archive the proprietary client. -## Cosmos - -The diagram places Zoom in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [dsk-zoom πŸ’»] - svc_zoom["zoom"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Zoom onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=dsk-zoom full_cycle=false -``` - -### Production - -Install Zoom directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=dsk-zoom -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Further Resources - [AUR package page for Zoom](https://aur.archlinux.org/packages/zoom) - [AUR package page for Teams](https://aur.archlinux.org/packages?K=teams) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/gen-hunspell/README.md b/roles/gen-hunspell/README.md index 60717e736e..150468cc7c 100644 --- a/roles/gen-hunspell/README.md +++ b/roles/gen-hunspell/README.md @@ -8,66 +8,10 @@ Installs Hunspell and configured language packs on Pacman-based systems for spel This README accompanies the Hunspell Playbook, located within the `infinito` repository. The playbook is focused on installing Hunspell, a widely-used spell checker, along with various language packages to enhance its functionality. -## Cosmos - -The diagram places Hunspell in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [gen-hunspell πŸ’»] - svc_hunspell["hunspell"] - end - subgraph dependents [Dependents] - dpt_dsk_libreoffice["dsk-libreoffice πŸ’» βš™οΈ"] - end - svc_hunspell -- "1:1" --> dpt_dsk_libreoffice -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Automated provisioning:** Configured by Ansible without manual steps. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Hunspell onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=gen-hunspell full_cycle=false -``` - -### Production - -Install Hunspell directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=gen-hunspell -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Playbook Contents The `main.yml` file in the `hunspell` role includes two primary tasks: @@ -100,9 +44,3 @@ Users are encouraged to customize the `{{hunspell_languages}}` variable based on ## Support and Contributions For any support requests, suggestions, or contributions, please open an issue or a pull request in the `infinito` repository. Contributions, especially those that enhance the playbook's functionality or extend its language support, are highly welcomed. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/pkgmgr-install/README.md b/roles/pkgmgr-install/README.md index 5683396885..8c295fda5e 100644 --- a/roles/pkgmgr-install/README.md +++ b/roles/pkgmgr-install/README.md @@ -8,19 +8,6 @@ This Ansible role installs [Kevin's Package Manager](https://github.com/kevinvee The role abstracts package management operations using `pkgmgr`. It ensures the package manager itself is updated once per run and provides idempotent installation and update routines for specified packages. -## Cosmos - -The diagram places Package Manager Installation in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [pkgmgr-install πŸ’»] - svc_pkgmgr_install["pkgmgr-install"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to automate the installation and update process for Infinito.Nexus-related applications or other managed packages using `pkgmgr`. It simplifies package handling and enforces best practices for package deployment in automated environments. @@ -38,9 +25,3 @@ The purpose of this role is to automate the installation and update process for |-----------------|-----------------------------------------------------------------|---------| | `package_name` | Name of the package to install/update | (required) | | `package_notify` | Handler to notify on package installation/update | "" | - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/pkgmgr/README.md b/roles/pkgmgr/README.md index 190177f0d1..267df10e56 100644 --- a/roles/pkgmgr/README.md +++ b/roles/pkgmgr/README.md @@ -13,19 +13,6 @@ This role automates the deployment of Kevin's Package Manager by: It ensures that the Package Manager is ready to manage repositories, perform Git operations, and streamline software management tasks. -## Cosmos - -The diagram places Kevins Package Manager in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [pkgmgr πŸ’»] - svc_pkgmgr["pkgmgr"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Purpose The purpose of this role is to simplify the installation of Kevin's Package Manager, reducing manual steps and ensuring a consistent setup across environments. Ideal for developers and system administrators, it helps integrate repository management seamlessly into your automation workflows. @@ -36,9 +23,3 @@ The purpose of this role is to simplify the installation of Kevin's Package Mana - **Executable Setup:** Sets proper permissions on the main script. - **Alias Installation:** Runs the installation command to generate command aliases. - **Configurable Paths:** Allows customization of both the installation and binary directories. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-agent-broker/README.md b/roles/svc-ai-agent-broker/README.md index ddcc301c4c..7a2ef32b51 100644 --- a/roles/svc-ai-agent-broker/README.md +++ b/roles/svc-ai-agent-broker/README.md @@ -8,38 +8,6 @@ Agent Broker is an OpenAI-compatible endpoint that gives every entitled user a p This role deploys the broker together with a container-API socket proxy in Compose and Swarm deployments. Open WebUI reaches the broker as a second OpenAI connection and forwards the caller's identity. The broker checks the caller's Keycloak group, creates or starts that caller's agent under the isolating runtime, forwards the request to it and streams the answer back. Agents reach their model only through the broker, which relays each call to the shared LiteLLM gateway with its own key and tags it with the owner. -## Cosmos - -The diagram places Agent Broker in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_svc_ai_litellm["svc-ai-litellm 🐳🐝"] - dep_web_app_hermes["web-app-hermes 🐳🐝"] - dep_web_app_keycloak["web-app-keycloak 🐳🐝"] - dep_web_app_openclaw["web-app-openclaw 🐳🐝"] - end - subgraph role [svc-ai-agent-broker 🐳🐝] - svc_agent_broker["agent-broker"] - svc_socket_proxy["socket-proxy"] - svc_litellm["litellm"] - svc_sso["sso"] - svc_hermes["hermes"] - svc_openclaw["openclaw"] - end - subgraph dependents [Dependents] - dpt_web_app_openwebui["web-app-openwebui 🐳🐝"] - end - dep_svc_ai_litellm -- "1:1" --> svc_litellm - dep_web_app_hermes -- "1:1" --> svc_hermes - dep_web_app_keycloak -- "1:1" --> svc_sso - dep_web_app_openclaw -- "1:1" --> svc_openclaw - svc_agent_broker -. "0..1" .-> dpt_web_app_openwebui -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Agents on demand:** The first completion of a user for `hermes` or `openclaw` creates that user's agent; later requests reuse it, and a stopped agent is started again with its state volume re-attached. @@ -49,48 +17,3 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - **Lifecycle settings:** `agents.idle_stop`, `agents.idle_minutes`, `agents.max_running`, `agents.start_timeout` and `agents.access_cache_seconds` in `meta/services.yml` control idle stops, the running-agent bound, the start wait and the membership cache; an inventory overrides them under `applications.svc-ai-agent-broker.services.agent-broker.agents`. An agent serving a request is never swept. - **Model and context:** `agents.model` names the gateway alias every agent runs on and defaults to the gateway's chat model, so agents can run on a larger model than Open WebUI's default. The context window of that alias comes from the model's `context` in the inventory and is written into the agent config as Hermes `model.context_length` and OpenClaw `contextWindow`. An agent prompt runs to tens of thousands of tokens, so a CPU-only local model spends minutes per turn on it; point `agents.model` at a remote model for interactive use. Hermes refuses a window below 64000 tokens and answers HTTP 500 on every prompt, so a platform whose minimum the selected alias misses is not offered at all: it is left out of `/v1/models` and answers 404, and the deploy says which platform it dropped and why. The rest of the broker keeps working, which is what makes a small model and OpenClaw a valid pairing. An alias that declares no window is reported instead of filtered, because an agent that does not know its window runs. - **Model relay:** Agents call `http://agent-broker:/llm/v1` with their own key; the broker forwards the call to LiteLLM with the broker's virtual key, sets the OpenAI `user` field to the owner and logs a JSON `relay` event with owner, platform, path and upstream status. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Agent Broker onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-agent-broker,svc-ai-ollama full_cycle=false -``` - -### Production - -Run the published image to provision the inventory and deploy Agent Broker to a managed server (the mounted volume persists the inventory): - -```bash -APP=svc-ai-agent-broker,svc-ai-ollama -HOST= -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" - -docker run --rm -it \ - -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ - -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ - ghcr.io/infinito-nexus/core/debian bash -c ' - INVENTORY=/etc/infinito.nexus/inventories/production - infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host "$HOST" \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && - infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv' -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-jupyter/README.md b/roles/svc-ai-jupyter/README.md index f3e9098988..8379af924e 100644 --- a/roles/svc-ai-jupyter/README.md +++ b/roles/svc-ai-jupyter/README.md @@ -10,66 +10,8 @@ The server starts with a token from the deployment's credential store, binds to The role declares no volume: a kernel that executes code a chat wrote gets a fresh filesystem on every restart. A consumer reaches it as `http://jupyter:8888` once it declares `jupyter` in its own `meta/services.yml` with `enabled` and `shared` set. `web-app-openwebui` ships that flag and sends `CODE_EXECUTION_ENGINE=jupyter` with it. -## Cosmos - -The diagram places Jupyter in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [svc-ai-jupyter 🐳🐝] - svc_jupyter["jupyter"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Token protected:** every request carries a token from the credential store; the token is never handed to a browser user. - **Ephemeral:** no volume is mounted, so each restart discards whatever the executed code wrote. - **Internal only:** no published port and no proxy entry, so the kernel is reachable from the container network alone. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Jupyter onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-jupyter full_cycle=false -``` - -### Production - -Run the published image to provision the inventory and deploy Jupyter to a managed server (the mounted volume persists the inventory): - -```bash -APP=svc-ai-jupyter -HOST= -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" - -docker run --rm -it \ - -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ - -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ - ghcr.io/infinito-nexus/core/debian bash -c ' - INVENTORY=/etc/infinito.nexus/inventories/production - infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host "$HOST" \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && - infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv' -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-litellm/README.md b/roles/svc-ai-litellm/README.md index fc40d67d9b..a7b55378e0 100644 --- a/roles/svc-ai-litellm/README.md +++ b/roles/svc-ai-litellm/README.md @@ -8,61 +8,6 @@ This role deploys LiteLLM as a shared gateway container in Compose and Swarm deployments, backed by the central PostgreSQL service. The gateway is headless: it binds its HTTP port on the container host and claims no domain of its own, and the browser-facing surface is published separately by the LiteLLM Admin UI. It renders the model list from the interchangeable local backends available on the host, Ollama and LM Studio, and adds the OpenAI, Anthropic and OpenRouter entries whose API key is configured. Once the gateway is up, it provisions one virtual key per consuming application through the gateway admin API. -## Cosmos - -The diagram places LiteLLM Gateway in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_svc_ai_lmstudio["svc-ai-lmstudio 🐳🐝"] - dep_svc_ai_ollama["svc-ai-ollama 🐳🐝"] - dep_svc_ai_s1["svc-ai-s1 🐳🐝"] - dep_svc_db_postgres["svc-db-postgres 🐳🐝"] - end - subgraph role [svc-ai-litellm 🐳🐝] - svc_litellm["litellm"] - svc_postgres["postgres"] - svc_s1["s1"] - svc_ollama["ollama"] - svc_lmstudio["lmstudio"] - end - subgraph dependents [Dependents] - dpt_dsk_gnt_claude["dsk-gnt-claude πŸ’»"] - dpt_dsk_gnt_codex["dsk-gnt-codex πŸ’»"] - dpt_dsk_gnt_pi["dsk-gnt-pi πŸ’»"] - dpt_svc_ai_agent_broker["svc-ai-agent-broker 🐳🐝"] - dpt_web_app_discourse["web-app-discourse 🐳🐝"] - dpt_web_app_flowise["web-app-flowise 🐳🐝"] - dpt_web_app_hermes["web-app-hermes 🐳🐝"] - dpt_web_app_litellm["web-app-litellm πŸ’»"] - dpt_web_app_matrix["web-app-matrix 🐳🐝"] - dpt_web_app_mattermost["web-app-mattermost 🐳🐝"] - dpt_web_app_mediawiki["web-app-mediawiki 🐳🐝"] - dpt_web_app_moodle["web-app-moodle 🐳🐝"] - dpt_more["..."] - end - dep_svc_ai_lmstudio -. "0..1" .-> svc_lmstudio - dep_svc_ai_ollama -. "0..1" .-> svc_ollama - dep_svc_ai_s1 -. "0..1" .-> svc_s1 - dep_svc_db_postgres -. "0..1" .-> svc_postgres - svc_litellm -. "0..1" .-> dpt_dsk_gnt_claude - svc_litellm -. "0..1" .-> dpt_dsk_gnt_codex - svc_litellm -. "0..1" .-> dpt_dsk_gnt_pi - svc_litellm -- "1:1" --> dpt_more - svc_litellm -- "1:1" --> dpt_svc_ai_agent_broker - svc_litellm -. "0..1" .-> dpt_web_app_discourse - svc_litellm -. "0..1" .-> dpt_web_app_flowise - svc_litellm -. "0..1" .-> dpt_web_app_hermes - svc_litellm -- "1:1" --> dpt_web_app_litellm - svc_litellm -. "0..1" .-> dpt_web_app_matrix - svc_litellm -. "0..1" .-> dpt_web_app_mattermost - svc_litellm -. "0..1" .-> dpt_web_app_mediawiki - svc_litellm -. "0..1" .-> dpt_web_app_moodle -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **OpenAI-compatible API:** One HTTP endpoint serves every model listed in the gateway configuration. @@ -73,48 +18,3 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - **Per-consumer virtual keys:** Each consuming application receives its own virtual key, created through the gateway admin API under an alias naming that application. - **File-based model list:** The model list is mounted as a read-only config file, with database-stored model entries turned off. - **Managed credentials:** The gateway master key and the admin UI password are generated and kept as role credentials, and the admin UI username is the platform administrator name. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy LiteLLM Gateway onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-litellm full_cycle=false -``` - -### Production - -Run the published image to provision the inventory and deploy LiteLLM Gateway to a managed server (the mounted volume persists the inventory): - -```bash -APP=svc-ai-litellm -HOST= -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" - -docker run --rm -it \ - -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ - -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ - ghcr.io/infinito-nexus/core/debian bash -c ' - INVENTORY=/etc/infinito.nexus/inventories/production - infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host "$HOST" \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && - infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv' -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-lmstudio/README.md b/roles/svc-ai-lmstudio/README.md index eda7aa9442..4b594f6f8f 100644 --- a/roles/svc-ai-lmstudio/README.md +++ b/roles/svc-ai-lmstudio/README.md @@ -8,28 +8,6 @@ This role deploys LM Studio as a headless model server in a single container, in both Docker Compose and Docker Swarm deployments. The server listens on port 1234 on the internal container network and is not published through the reverse proxy, while downloaded models and server settings persist in a dedicated volume. The role downloads its declared models at deploy time and the LiteLLM Gateway publishes them under the same aliases Ollama uses, so a consumer asks for one model name and reaches whichever backend the deployment provides. -## Cosmos - -The diagram places LM Studio in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local πŸ’»"] - end - subgraph role [svc-ai-lmstudio 🐳🐝] - svc_lmstudio["lmstudio"] - svc_container_backup["container_backup"] - end - subgraph dependents [Dependents] - dpt_svc_ai_litellm["svc-ai-litellm 🐳🐝"] - end - dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup - svc_lmstudio -. "0..1" .-> dpt_svc_ai_litellm -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **OpenAI-compatible endpoint:** The headless server answers `/v1` requests on port 1234 inside the container network. @@ -40,48 +18,3 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - **Gateway backend:** The LiteLLM Gateway publishes those aliases, which are the names Ollama serves too, so the same model name routes to whichever local backend a deployment runs. - **Bounded resources:** The container is capped at 4 CPUs, 8 GB of memory and 2048 processes, and the role declares a minimum of 4 GB free storage for building the image; downloaded models grow the volume beyond that. - **Backup integration:** Backup Docker Volumes snapshots the model volume when that role is present, without stopping the container. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy LM Studio onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-lmstudio full_cycle=false -``` - -### Production - -Run the published image to provision the inventory and deploy LM Studio to a managed server (the mounted volume persists the inventory): - -```bash -APP=svc-ai-lmstudio -HOST= -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" - -docker run --rm -it \ - -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ - -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ - ghcr.io/infinito-nexus/core/debian bash -c ' - INVENTORY=/etc/infinito.nexus/inventories/production - infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host "$HOST" \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && - infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv' -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-mcp-adapter/README.md b/roles/svc-ai-mcp-adapter/README.md index cfd9b2bf62..9889c4233a 100644 --- a/roles/svc-ai-mcp-adapter/README.md +++ b/roles/svc-ai-mcp-adapter/README.md @@ -8,19 +8,6 @@ A reusable [Model Context Protocol](https://modelcontextprotocol.io/) adapter, i Several applications have a useful read API but no MCP server, and several projects ship an MCP server that authenticates *to* the application without authenticating the client calling it. Putting either behind this adapter gives the surface a bearer of its own, an exact tool allowlist, and enforced ceilings. The deployment renders one contract per instance, so the same image serves every provider without any of them sharing a credential or a trust boundary. -## Cosmos - -The diagram places MCP Adapter in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [svc-ai-mcp-adapter] - svc_mcp_adapter["mcp-adapter"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Client-facing authentication:** The adapter issues its own bearer. The upstream credential authenticates the adapter to the provider and says nothing about who called the adapter, which is the gap the project-owned MCP sidecars leave open. @@ -85,53 +72,8 @@ An empty `ADAPTER_UPSTREAM_KEY` sends no header at all. Self-built and stdlib-only: the served surface is three JSON-RPC methods, and a dependency-free image has no transitive supply chain to audit per release. The container runs as a non-root user with a read-only root filesystem and all Linux capabilities dropped. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy MCP Adapter onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-mcp-adapter full_cycle=false -``` - -### Production - -Run the published image to provision the inventory and deploy MCP Adapter to a managed server (the mounted volume persists the inventory): - -```bash -APP=svc-ai-mcp-adapter -HOST= -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" - -docker run --rm -it \ - -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ - -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ - ghcr.io/infinito-nexus/core/debian bash -c ' - INVENTORY=/etc/infinito.nexus/inventories/production - infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host "$HOST" \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && - infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv' -``` - ## Further resources - [Model Context Protocol](https://modelcontextprotocol.io/) - [MCP service block](../../docs/contributing/design/role/services/mcp.md) - [MCP user delegation audit](../../docs/contributing/design/role/services/mcp/delegation.md) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-ollama/README.md b/roles/svc-ai-ollama/README.md index e8e013e2dc..24e461da45 100644 --- a/roles/svc-ai-ollama/README.md +++ b/roles/svc-ai-ollama/README.md @@ -8,32 +8,6 @@ This role deploys Ollama as a local model server using Docker Compose. It integrates with Open WebUI for chat and Flowise for AI workflow automation, and configures local model caching so models can be reused across sessions or run fully offline. -## Cosmos - -The diagram places Ollama in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local πŸ’»"] - end - subgraph role [svc-ai-ollama 🐳🐝] - svc_ollama["ollama"] - svc_container_backup["container_backup"] - end - subgraph dependents [Dependents] - dpt_svc_ai_litellm["svc-ai-litellm 🐳🐝"] - dpt_web_app_flowise["web-app-flowise 🐳🐝"] - dpt_web_app_minio["web-app-minio 🐳🐝"] - end - dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup - svc_ollama -. "0..1" .-> dpt_svc_ai_litellm - svc_ollama -. "0..1" .-> dpt_web_app_flowise - svc_ollama -. "0..1" .-> dpt_web_app_minio -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Local model execution:** Run popular open models (chat, code, embeddings) on your own hardware. @@ -42,52 +16,7 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - **Integrations:** Works seamlessly with Open WebUI and Flowise. - **Offline support:** Fully offline-capable for air-gapped deployments. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Ollama onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-ollama full_cycle=false -``` - -### Production - -Run the published image to provision the inventory and deploy Ollama to a managed server (the mounted volume persists the inventory): - -```bash -APP=svc-ai-ollama -HOST= -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" - -docker run --rm -it \ - -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ - -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ - ghcr.io/infinito-nexus/core/debian bash -c ' - INVENTORY=/etc/infinito.nexus/inventories/production - infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host "$HOST" \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && - infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv' -``` - ## Further resources - [Ollama](https://ollama.com) - [Ollama Model Library](https://ollama.com/library) - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-robot/README.md b/roles/svc-ai-robot/README.md index 58c76923ba..511d8e0b2e 100644 --- a/roles/svc-ai-robot/README.md +++ b/roles/svc-ai-robot/README.md @@ -18,27 +18,6 @@ Which agent embodies the device follows from the deployment itself: whichever of The agent can do anything the granted devices allow. A GPIO or I2C grant means it can drive whatever is wired to those pins; a video grant means it can watch the room; a serial grant means it can talk to whatever sits on the bus. The allowlist is the entire boundary, which is why an empty one is refused and why the device must be dedicated, single-tenant and network-segmented. -## Cosmos - -The diagram places Robot Platform in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph deps [Dependencies] - dep_web_app_hermes["web-app-hermes 🐳🐝"] - dep_web_app_openclaw["web-app-openclaw 🐳🐝"] - end - subgraph role [svc-ai-robot πŸ’»] - svc_robot["robot"] - svc_hermes["hermes"] - svc_openclaw["openclaw"] - end - dep_web_app_hermes -. "0..1" .-> svc_hermes - dep_web_app_openclaw -. "0..1" .-> svc_openclaw -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Declared hardware access:** Every device the agent may drive is listed by the operator and bound into the container; an empty list is refused rather than silently treated as deny-all-but-deployable. @@ -46,48 +25,3 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( - **Checks precede the grant:** The admission checks run inside the agent role before it deploys, so a refusal prevents the embodied container rather than following it. - **Selectable agent:** Whichever agent role the deployment carries embodies the device, Hermes Agent taking precedence; the matrix deploys both so neither path rots. - **Agent reuse:** The embodied deployment is the agent role itself, so image, configuration and model routing stay identical to the isolated deployments. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Robot Platform onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-robot full_cycle=false -``` - -### Production - -Install Robot Platform directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=svc-ai-robot -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-s1/README.md b/roles/svc-ai-s1/README.md index d00f45548f..3c22facdaf 100644 --- a/roles/svc-ai-s1/README.md +++ b/roles/svc-ai-s1/README.md @@ -10,23 +10,6 @@ Self-hosted System One decision service. It answers typed questions (`choice`, ` `services.s1.flavor` selects which implementation answers that contract. `laya` runs [Laya](https://huggingface.co/convaiinnovations/laya), the default; `torch` and `onnx` run [jeff](https://github.com/logan-markewich/jeff) over a GLiFormer encoder, which is what the role carried before. Neither upstream ships a container image, so the role builds one and bakes the checkpoints into it. Baking keeps the deploy free of a download at container start, which is the failure mode a sibling role's model pull already hit. -## Cosmos - -The diagram places System One in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [svc-ai-s1 🐳🐝] - svc_s1["s1"] - end - subgraph dependents [Dependents] - dpt_svc_ai_litellm["svc-ai-litellm 🐳🐝"] - end - svc_s1 -. "0..1" .-> dpt_svc_ai_litellm -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **One contract, three flavors.** `laya` serves multilingual checkpoints and preloads them at start; `torch` runs the GLiFormer checkpoint as published; `onnx` exports an int8 graph at build time and needs roughly a quarter of the memory. Every flavor answers the same `POST /v1/systemone`, so the gateway does not know which one it asked. @@ -46,51 +29,6 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( | `services.s1.jeff.model_repo` | Hugging Face repository those flavors download at build time | | `secrets.credentials.api_key` | bearer key the server accepts | -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy System One onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-s1 full_cycle=false -``` - -### Production - -Run the published image to provision the inventory and deploy System One to a managed server (the mounted volume persists the inventory): - -```bash -APP=svc-ai-s1 -HOST= -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" - -docker run --rm -it \ - -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ - -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ - ghcr.io/infinito-nexus/core/debian bash -c ' - INVENTORY=/etc/infinito.nexus/inventories/production - infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host "$HOST" \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && - infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv' -``` - ## Limits that shape the caller Both flavors cap the state and the option count and answer HTTP 422 above them, so the gateway truncates the prompt to `services.litellm.router.state_chars` before asking. The `laya` flavor shares a fixed token budget across the options of one question, so accuracy falls off well before its own cap; the deployments here put a handful of model aliases to it, far below where that matters. - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-searxng/README.md b/roles/svc-ai-searxng/README.md index 55336f477d..80cfbbf4ea 100644 --- a/roles/svc-ai-searxng/README.md +++ b/roles/svc-ai-searxng/README.md @@ -10,66 +10,8 @@ The role renders `settings.yml` from the deployment's own secret key and mounts A consumer reaches it as `http://searxng:8080/search?q=` once it declares `searxng` in its own `meta/services.yml` with `enabled` and `shared` set. `web-app-openwebui` ships that flag and sends `WEB_SEARCH_ENGINE=searxng` with it. -## Cosmos - -The diagram places Searxng in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [svc-ai-searxng 🐳🐝] - svc_searxng["searxng"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **JSON enabled:** the settings add the `json` output format, which upstream ships disabled and which every API client needs. - **Internal only:** no published port, no proxy entry; the limiter is off because the clients are platform services. - **Named state:** the configuration and cache directories the image declares as volumes are pinned to named volumes, so no anonymous volume is left behind. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Searxng onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-searxng full_cycle=false -``` - -### Production - -Run the published image to provision the inventory and deploy Searxng to a managed server (the mounted volume persists the inventory): - -```bash -APP=svc-ai-searxng -HOST= -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" - -docker run --rm -it \ - -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ - -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ - ghcr.io/infinito-nexus/core/debian bash -c ' - INVENTORY=/etc/infinito.nexus/inventories/production - infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host "$HOST" \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && - infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv' -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-tika/README.md b/roles/svc-ai-tika/README.md index 155309b9bd..b48b62b2d7 100644 --- a/roles/svc-ai-tika/README.md +++ b/roles/svc-ai-tika/README.md @@ -10,66 +10,8 @@ The role runs the `-full` image, which carries the OCR and language packs, and s A consumer reaches it as `http://tika:9998` once it declares `tika` in its own `meta/services.yml` with `enabled` and `shared` set, which is what attaches the consumer to this role's network. `web-app-openwebui` ships that flag and sends `CONTENT_EXTRACTION_ENGINE=tika` with it. -## Cosmos - -The diagram places Tika in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [svc-ai-tika 🐳🐝] - svc_tika["tika"] - end -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Features - **Internal only:** the server listens on the container network; nothing is published to a host port or a proxy. - **Full extraction set:** the `-full` image ships the OCR and language detection dependencies, so scanned documents are extracted too. - **Shared instance:** one container serves every consumer that carries the service flag. - -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Tika onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-ai-tika full_cycle=false -``` - -### Production - -Run the published image to provision the inventory and deploy Tika to a managed server (the mounted volume persists the inventory): - -```bash -APP=svc-ai-tika -HOST= -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" - -docker run --rm -it \ - -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ - -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ - ghcr.io/infinito-nexus/core/debian bash -c ' - INVENTORY=/etc/infinito.nexus/inventories/production - infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host "$HOST" \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && - infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv' -``` - -## Credits - -Implemented by **[Kevin Veen-Birkenbach](https://www.veen.world)**. -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). -Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-bkp-local-2-device/README.md b/roles/svc-bkp-local-2-device/README.md index aca5be1eb3..3484e724ff 100644 --- a/roles/svc-bkp-local-2-device/README.md +++ b/roles/svc-bkp-local-2-device/README.md @@ -10,23 +10,6 @@ The transfer is hard-link deduplicated against the previous snapshot, so each pl This role asserts that the mount, source, and target configuration values are present, deploys the rsync-driver script, and installs a systemd mount unit plus a oneshot service. The oneshot service is triggered automatically when the configured mount path appears, so the only operator action is to physically plug the device in. -## Cosmos - -The diagram places Backup to External Device in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). - -```mermaid -flowchart LR - subgraph role [svc-bkp-local-2-device πŸ’»] - svc_local_2_device["local-2-device"] - end - subgraph dependents [Dependents] - dpt_svc_bkp_remote_2_local["svc-bkp-remote-2-local πŸ’»"] - end - svc_local_2_device -. "0..1" .-> dpt_svc_bkp_remote_2_local -``` - -Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (πŸ’» host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and βš™οΈ an Ansible role dependency declared in `meta/main.yml`. - ## Schema ```mermaid @@ -50,45 +33,6 @@ flowchart TD - **Configuration-asserted:** missing mount/source/target values fail the deploy early, before any partial state lands. - **Idempotent:** repeated plug-ins re-use existing snapshots and only sync deltas. -## Quick Setup - -### Development - -Clone, set up the workstation, and deploy Backup to External Device onto the local stack: - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -make onboard -make compose-deploy mode=reinstall apps=svc-bkp-local-2-device full_cycle=false -``` - -### Production - -Install Backup to External Device directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): - -```bash -git clone https://github.com/infinito-nexus/core.git -cd core -bash scripts/install/package.sh -make install -source scripts/meta/env/load.sh - -APP=svc-bkp-local-2-device -DOMAIN= -TLS_MODE=self_signed -SSH_PUBLIC_KEY="" -INVENTORY=inventories/production -infinito administration inventory provision "$INVENTORY" \ - --inventory-file "$INVENTORY/devices.yml" \ - --host localhost \ - --include "$APP" \ - --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" -infinito administration deploy dedicated "$INVENTORY/devices.yml" \ - --password-file "$INVENTORY/.password" \ - --diff -vv -``` - ## Recover Run `files/python/recover.py` on the host with the backup device attached: @@ -98,9 +42,3 @@ recover.py /dev/sdX1 /mnt/usb-recover /var/lib/infinito/backup [--snapshot