Hi all,

is it possible to read a value from a file located in the host_vars
folder, if this is not the host the play should run on?

I am trying to convert a script creating a lxc container on host foo
to an ansible playbook. But instead of calling the role with lots of
variables (container name, user name, password, ...) I wanted to
define them in the host_vars file for the container, as I would need
it a little later anyway.

Any hints?

Johannes

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/56F3F9C2.8020500%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to