How to use scp command with raw module of Ansible to transfer file to remote hosts
I am a beginner to ansible.
I am trying to copy a file from ansible-master to ansible managed nodes using raw module and executing scp command.
Here's the ad-hoc ansible command i used to get result
ansible 192.168.0.5 -m raw -a "scp /home/osboxes/test firstname.lastname@example.org:/home/"
Can anybody help me out over here, what's wrong in above command and what needs to be done to get the desired results