I'd perhaps run this with -vvv for starters, and then maybe show the command you are showing to show there aren't any files?
On Thu, Jun 19, 2014 at 5:54 AM, Makimoto Marakatti <[email protected]> wrote: > Hi all > > I have a play like this: > > --- > - hosts: group > sudo: True > gather_facts: no > tasks: > - name: actually fetch files > fetch: src={{ item }} dest=/ansible/deployment/files/backup/group/ > with_fileglob: /etc/yum.repos.d/* > > Which seems to run successfully: > > > $ ansible-playbook fetch_files_from_server.yml -s > > PLAY [pheasant] > *************************************************************** > > TASK: [actually fetch files] > ************************************************** > ok: [node1] => (item=/etc/yum.repos.d/CentOS6.4-x86_64.repo) > ok: [node2] => (item=/etc/yum.repos.d/CentOS6.4-x86_64.repo) > ok: [node1] => (item=/etc/yum.repos.d/scl.repo) > ok: [node3] => (item=/etc/yum.repos.d/CentOS6.4-x86_64.repo) > ok: [node2] => (item=/etc/yum.repos.d/scl.repo) > ok: [node1] => (item=/etc/yum.repos.d/CentOS6.4-updates-x86_64.repo) > ok: [node2] => (item=/etc/yum.repos.d/CentOS6.4-updates-x86_64.repo) > ok: [node3] => (item=/etc/yum.repos.d/scl.repo) > ok: [node3] => (item=/etc/yum.repos.d/CentOS6.4-updates-x86_64.repo) > > PLAY RECAP > ******************************************************************** > node1 : ok=1 changed=0 unreachable=0 failed=0 > node2 : ok=1 changed=0 unreachable=0 failed=0 > node3 : ok=1 changed=0 unreachable=0 failed=0 > > But there are no files in the dest path. > > What am I doing wrong here?? > > thanks! > > -- > 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/b106e165-20b1-4779-9b4e-1afb11bb2b40%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/b106e165-20b1-4779-9b4e-1afb11bb2b40%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CA%2BnsWgxTQKrXT%3D73ARhZPwg%2BxRgjFeU%2B6Vngw4okFe7AbUJmGw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
