Files
computer-playbook/roles/sys-version
kevinveenbirkenbachandClaude Opus 4.8 674d26de3a feat(lint/role-readme): derive Credits author from meta author SPOT
Role README Credits now name galaxy_info.author (plain bold or wrapped
in a Markdown link), matched byte-for-byte against the role's own
meta/main.yml, instead of a hard-coded maintainer name. Regenerate all
245 role README Credits blocks to the new 'Implemented by ...' format.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 16:47:34 +02:00
..
…
…

System Version ️

Description

This Ansible role extracts the project version from the local pyproject.toml (using playbook_dir) and writes it as a system-wide environment variable into /etc/environment on the managed host.

Overview

This role extracts the local pyproject.toml version and writes it as an environment variable in /etc/environment on the target host.

Features

  • Extracts version = "..." from pyproject.toml on the control node
  • Persists the version as an environment variable in /etc/environment
  • Updates the existing variable idempotently (no duplicates)
  • Creates /etc/environment if missing

Variables

  • FILE_ENVIRONMENT (default: /etc/environment)
  • INFINITO_VERSION_ENV_NAME (default: INFINITO_VERSION)

Credits

Implemented by Kevin Veen-Birkenbach. Part of the Infinito.Nexus Project and maintained by Kevin Veen-Birkenbach. Licensed under the Infinito.Nexus Community License (Non-Commercial).