Can't Ping - Failed to transfer file to...

Hi, I have something echoing in /etc/bashrc; need some guidance here.

absible.cfg:
scp_if_ssh = True

hosts:
[myhosts]
host.mydomain.com ansible_connection=ssh ansible_ssh_user=ec2-user ansible_ssh_private_key_file=/home/ec2-user/.ssh/id_rsa

Output of ansible -i hosts myhosts -m ping -vvvv:

You could either add redirection to send output to /Dev/null or do something like checking whether it is an interactive session before running some commands:

http://tldp.org/LDP/abs/html/intandnonint.html

Awesome, I checked for, and only displayed on interactive session and works now; thanks!