Unable to Identify Hosts Missing Specific Custom Variables with Constructed Inventory Plugin

Solution In Progress - Updated -

Issue

  • Constructed inventory plugin using the syntax variable "is not defined" or variable "is undefined" fails to identify hosts missing specific custom variables. This prevents effective grouping and targeting of affected hosts.

Environment

  • Ansible Automation Platform 2.4 or higher

  • Constructed Inventory Plugin

  • Jinja2 templating

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content