From 491761f880c3b5c8d0a441d6378272947d15437e Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 12 Jun 2015 23:53:56 -0400 Subject: [PATCH] added note to add faf deprecation --- lib/ansible/plugins/action/copy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/plugins/action/copy.py b/lib/ansible/plugins/action/copy.py index 90b1c3a9011..355fed6d3aa 100644 --- a/lib/ansible/plugins/action/copy.py +++ b/lib/ansible/plugins/action/copy.py @@ -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