On 06.05.16 11:13 [email protected] wrote:
> Tried that and does not work.
> 
> Apt sees it as "apt-get install [foo,bar]" instead of "apt-get install foo 
> bar"

Damn, I get the list thing wrong each time..

https://docs.ansible.com/ansible/YAMLSyntax.html
fruits: ['Apple', 'Orange', 'Strawberry', 'Mango']

Try this: ansible-playbook -e "your_package_list=['foo','bar','xyz']"

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/572C6144.4090200%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to