On Tuesday, 4 December 2018 19:02:13 CET John Harmon wrote: > > On Tuesday, December 4, 2018 at 10:32:41 AM UTC-7, Kai Stian Olstad wrote: > > > > > > > > I find the error strange on the last one, because I stat the file > > previous > > > to it and can see it fine. > > > > In your set_fact, try to swap your single quotes to double quotes and you > > double to single quotes. > > > > > > > > > > > Now, whether escaped or not it says it can't find the file. Do I need to > delegate_to in set_fact? or should it be looking on the host specified?
lookup plugins run only on localhost not remote, if you file is on the host you can't use lookup. -- Kai Stian Olstad -- 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/3770615.kKbNJMMBi3%40x1. For more options, visit https://groups.google.com/d/optout.