Hello Andrei,

Am 05.04.2017 um 12:01 schrieb Андрей Климентьев:
> Is it possible to append variable to another one in vars files?
> 
> I have a use case for this: I want to create a large list of packages to
> install on a Debian system. I have global packages (e.g, tmux), that I
> want to be available everywhere, group specific variables, defined in
> group_vars, and host specific variables, that are defined in host_vars.
> Is it possible to somehow concatenate those variables to feed resulting
> list to the apt module?

Why not feed a list to the apt task anyway?
Many possibilities via loops
http://docs.ansible.com/ansible/playbooks_loops.html


Best regards,
Benjamin
-- 
FSU Jena | JULIELab.de/Staff/Benjamin+Redling.html
vox: +49 3641 9 44323 | fax: +49 3641 9 44321

-- 
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/b5b9904e-05ef-ea40-355d-74812e1621ac%40uni-jena.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to