On Thu, 5 Sep 2019 at 12:11, Rakesh Parida <
rakeshp...@gmail.com> wrote:
>
> I have a code as below and i have my html files present in /tmp/sanity/ .
> but i am getting error as "Failed to send mail: can't attach file" i get file not found
Well that's pretty clear: the file is not found.
Debug what is in list_html_files.stdout_lines[0] and adjust that.
Without any further information it's hard to tell.
On a related note, instead of fragile shell find/tr/xargs/sort , I
would strongly suggest to use the 'find' module.
That will at least return a standard data structure (which is easier
to offer help with).
Dick
> --
> 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-proje...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/69c639e2-ce8f-4931-90f4-bdb3ee0c00b5%40googlegroups.com.
--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT