mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add playbook example for first_available_file
This commit is contained in:
@@ -391,6 +391,7 @@ class Runner(object):
|
||||
# apply templating to source argument
|
||||
inject = self.setup_cache.get(conn.host,{})
|
||||
|
||||
# FIXME: break duplicate code up into subfunction
|
||||
# if we have first_available_file in our vars
|
||||
# look up the files and use the first one we find as src
|
||||
if 'first_available_file' in self.module_vars:
|
||||
|
||||
Reference in New Issue
Block a user