Refactor local_action SCP task into function

This allows use to reused the logic, for the following patchset.

Change-Id: I147a7519a61537024ec6aef6ae4600bb443475e0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
1 file changed