Brian Coca
unread,Jun 12, 2023, 1:55:47 PM6/12/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
because tests//lookups/filters/.. basically everything except the
module itself, executes on controller, so you need to have a 'stat'
tasks first, register the result and use that to see if the file
exists. As written your conditional will only work if the controller
has that file (remote is never checked).
--
----------
Brian Coca