Hello Benjamin,

well the problem is if I want to combine multiple lists, I'll have to 
define 3 different variables for group_vars/all, group_vars/group, and 
host_vars/host. I guess, it's inescapable.

среда, 5 апреля 2017 г., 16:43:59 UTC+3 пользователь Benjamin Redling 
написал:
>
> 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/904ee90e-8021-4dc9-8e98-3735da7f93bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to