Skip to content

Composite variables support for Proxmox nodes in dynamic inventory plugin #6640

Closed
@levytskyip

Description

@levytskyip

Summary

In my environment Proxmox nodes are assigned an IP address in management VLAN and DNS name in a subdomain of my local domain. Currently if I try to configure the ansible_host variable in compose: section it will only work for hosts on the Proxmox nodes but not for the nodes themselves.

Issue Type

Feature Idea

Component Name

plugins/inventory/proxmox.py

Additional Information

plugin: community.general.proxmox
url: https://pve.domain.local:8006
want_facts: false
want_proxmox_nodes_ansible_host: false
compose:
   ansible_host: inventory_hostname + '.domain. Local'

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue/PR relates to a feature requesthas_prpluginsplugin (any type)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions