Skip to content

Conversation

@fl64
Copy link
Member

@fl64 fl64 commented Nov 28, 2025

Description

Add ansible-inventory subcommand to the CLI tool for generating ansible dynamic inventory from virtual machines in Kubernetes cluster.

Why do we need it, and what problem does it solve?

Users need to integrate virtual machines from cluster with ansible for automation. Current solution requires:

  • Manual creation of inventory files
  • Writing custom scripts for inventory generation
  • Maintaining and updating inventory when VMs change in the cluster

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: cli
type: feature
summary: Add ansible-inventory command for generating dynamic ansible inventory from virtual machines
impact_level: low

@fl64 fl64 self-assigned this Nov 28, 2025
@fl64 fl64 force-pushed the feat/cli/ansible-inventory branch 2 times, most recently from ee47fd4 to 6ab55c5 Compare December 1, 2025 04:51
Signed-off-by: Pavel Tishkov <[email protected]>
@fl64 fl64 force-pushed the feat/cli/ansible-inventory branch from 6ab55c5 to 4812023 Compare December 1, 2025 05:00
Signed-off-by: Pavel Tishkov <[email protected]>
@fl64 fl64 added this to the v1.3.0 milestone Dec 1, 2025
@fl64 fl64 marked this pull request as ready for review December 1, 2025 05:17
@fl64 fl64 requested a review from Isteb4k as a code owner December 1, 2025 05:17
#### ansible-inventory

```shell
# Get inventory (default: YAML format)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Get inventory (default: YAML format)
# Get inventory for default namespace in YAML format

Signed-off-by: Pavel Tishkov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants