1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

added note to add faf deprecation

This commit is contained in:
Brian Coca 2015-06-12 23:53:56 -04:00
parent a6ca133da8
commit 491761f880

View file

@ -74,6 +74,7 @@ class ActionModule(ActionBase):
# if we have first_available_file in our vars
# look up the files and use the first one we find as src
elif faf:
#FIXME: issue deprecation warning for first_available_file, use with_first_found or lookup('first_found',...) instead
found = False
for fn in faf:
fn_orig = fn