Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
emmetog opened this issue Oct 2, 2020 · 0 comments
Open

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

emmetog opened this issue Oct 2, 2020 · 0 comments

Comments

@emmetog
Copy link

emmetog commented Oct 2, 2020

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?

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

No branches or pull requests

1 participant