Hi
I have this situation:
[root@se1ts00 yaml]# for i in `cat sx1 | grep -v '\[sx1\]'`; do ssh root@$i ls -l /tmp/repolist; done
-rw-r--r-- 1 root root 267 Jul 12 06:59 /tmp/repolist
-rw-r--r-- 1 root root 272 Jul 12 06:59 /tmp/repolist
-rw-r--r-- 1 root root 270 Jul 12 06:59 /tmp/repolist
^C
[root@se1ts00 yaml]# ansible sx1 -c ssh -v -m fetch -a "src=/tmp/repolist dest=/root/andreasda/yaml/repolists"
betapi00.sx1 | FAILED => file or module does not exist: /tmp/repolist
betbrowsing00.sx1 | FAILED => file or module does not exist: /tmp/repolist
clientapi00.sx1 | FAILED => file or module does not exist: /tmp/repolist
clientapi01.sx1 | FAILED => file or module does not exist: /tmp/repolist
^C
I have run a playbook that collected some information, saved in /tmp/repolist, and now want to fetch it back home for analysis. But, it seems like the FETCH module does not find the file. As can be seen above, the file is at least visible when doing ssh to the machines.
Can anyone spot the error, or is this a mysterious bug?
Thanks.
/andreas