On 1/30/14, 8:47 AM, Juan Uys wrote:
with_items: "{{applist}}"I expect it to create /opt/apps/boldface and /opt/apps/taximeter However, I end up with stuff like this (after trying varying combinations of the 'dest' parameter in the task): r00t@vagrant-ubuntu-saucy-64:~$ ls /home/r00t/* /home/r00t/{{appconf[+boldface][install_dir]}}: /home/r00t/{{appconf[boldface]['install_dir']}}: /home/r00t/{{appconf[boldface][install_dir]}}: /home/r00t/{{appconf[+taximeter][install_dir]}}: /home/r00t/{{appconf[taximeter]['install_dir']}}: /home/r00t/{{appconf[taximeter][install_dir]}}: /home/r00t/[{'key': 'boldface'}, {'key': 'taximeter'}]: boldface taximeter Please let me know what I'm doing wrong.
Don't quote applist and don't put it in brackets for your with_items. with_items: applist -jlk -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
