Skip to content

Feature request: Preview resolved Ansible vars before apply (with filter + JSON output) #6

@hrazzaghi

Description

@hrazzaghi

Currently, it is hard to see the final resolved Ansible variable values before running, since values come from multiple sources. It would be great to have a feature that previews effective variables for a target host/group/play context before apply.

If possible, it would be great to have:

  • Show final resolved vars as they would be used in a real run.
  • Filter output by var name/pattern.
  • Output in JSON.
  • Optional save to file (e.g. --output vars.json).
  • Optional masking/redaction for sensitive values.

This could make validation and debugging much easier before applying changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions