Brilliant. Thanks Brian. All working now. Much appreciated
> On 17 Mar 2015, at 12:54, Brian Coca <[email protected]> wrote: > > so Item is a variable that always gets populated when adding a with_ > clause, with_ is how you iterate in a task. with_ clauses must be on > their own line, not on the task line, write it as I do here: > > - name: extract Java ZIP file one on target(s) - this may take some > unarchive: src={{item}} > dest=/home/installer/Desktop/source/LandJ/Java copy=no > with_fileglob: '/home/installer/Desktop/source/LandJ/Java/*.zip' > > > with_ clauses use a lookup plugin 'fileglob' is such a plugin, there > are many others. > > more info at: > http://docs.ansible.com/playbooks_loops.html > > > -- > Brian Coca > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/hcTCGqPtzvM/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAJ5XC8nWLBGfvnojHFcZFpNh1R9oBiTEX0gN84eF1jKpR31rMw%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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/3B176800-1334-4C98-8487-1D7EC3599172%40gmail.com. For more options, visit https://groups.google.com/d/optout.
