Skip to content

Heirarchy of variables - using host vars in module vars #19

@emmetog

Description

@emmetog

I like the simplicity of this tool a lot! Thanks for putting it together.

I've been trying to build a PoC and run into a problem: I can't figure out how to have module variables that may contain host variables. For example:

# In the module variables file
deploy_to_path="/var/www/${project}-${instance}-${env}"

where some of those variables are defined in the host vars.

Is it possible to build hierarchies of variables like this?

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