Hello, I have created a log file using ansible an have named the log file with the host name. I need to fetch that file from all my hosts and put it in a directory on the control server. However, it runs fine but does not copy the files over. Here is my cmds.
- name: "Find needsreboot.log file" find: paths: /dir/ patterns: "*.needsreboot.log" I have also tried $HOSTNAME-needsreboot.log -name: fetch: src: /dir/*.needsreboot.log dest: /dir on control server/logs flat: yes thank you, -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e42aa1a7-1b65-481d-98e8-3809125d6e05%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.