SFTP and SCP issues from ansible ubuntu to cisco ios 15.0

Good day good peoplem
I am doing my labs on EVE-NG and its the time to practice what i have studied, This is the error I am getting when trying to use a ping module. I am sure there will be more errors, or there is more deadly errors in my system, but for now I want to sort out this SFTP and SCP error. I believe the first issue is, my images are old.
Would someone please guide on how to fix this, I an running ubuntu on VMWARE.

I have added few pics, where i can ssh directly to the ios and i can ping the eve-ng vm running these cisco devices

Thanks in advance.

In case my pics are not uploaded I have copied errors I’m getting:

Hosts

[Routers]
R-1 ansible_host=192.168.126.130 ansible_python_interpreter=/usr/bin/python3
R-2 ansible_host=192.168.126.132 ansible_python_interpreter=/usr/bin/python3
R-3 ansible_host=192.168.126.131 ansible_python_interpreter=/usr/bin/python3
R-5 ansible_host=192.168.126.136 ansible_python_interpreter=/usr/bin/python3

[Eveng]
eve-ng ansible_host=192.168.126.129 ansible_python_interpreter=/usr/bin/python3
saul@bipa:/etc/ansible$

nornal ssh

saul@bipa:/etc/ansible$ ssh admin@192.168.126.130


  • IOSv is strictly limited to use for evaluation, demonstration and IOS *
  • education. IOSv is provided as-is and is not supported by Cisco’s *
  • Technical Advisory Center. Any use or disclosure, in whole or in part, *
  • of the IOSv Software or Documentation to any third party for any *
  • purposes is expressly prohibited except as otherwise authorized by *
  • Cisco in writing. *
    (admin@192.168.126.130) Password: ****************************************

  • IOSv is strictly limited to use for evaluation, demonstration and IOS *
  • education. IOSv is provided as-is and is not supported by Cisco’s *
  • Technical Advisory Center. Any use or disclosure, in whole or in part, *
  • of the IOSv Software or Documentation to any third party for any *
  • purposes is expressly prohibited except as otherwise authorized by *
  • Cisco in writing. *

R-1>

ansible ping module
[WARNING]: sftp transfer mechanism failed on [192.168.126.130]. Use
ANSIBLE_DEBUG=1 to see detailed information
[WARNING]: scp transfer mechanism failed on [192.168.126.130]. Use
ANSIBLE_DEBUG=1 to see detailed information
R-1 | FAILED! => {
“changed”: false,
“module_stderr”: “\r\n**************************************************************************\r\n* IOSv is strictly limited to use for evaluation, demonstration and IOS \r\n education. IOSv is provided as-is and is not supported by Cisco’s \r\n Technical Advisory Center. Any use or disclosure, in whole or in part, \r\n of the IOSv Software or Documentation to any third party for any \r\n purposes is expressly prohibited except as otherwise authorized by \r\n Cisco in writing. *\r\n**************************************************************************Shared connection to 192.168.126.130 closed.\r\n”,
“module_stdout”: “\r\nLine has invalid autocommand "/bin/sh -c ‘/usr/bin/python3 ‘"’"‘Line has invalid autocommand "/bin/sh -c ‘"’"’"’"‘"’"‘"’"‘( umask 77 && mkdir -p "` echo Line has invalid autocommand "/bin/sh -c ‘"’"’"‘"’"‘"’"‘"’"‘"’"‘"’"‘"’"‘"’"‘"’"‘"’"‘"’"‘"’"‘"‘echo ~admin && sleep 0’"’"‘"’"‘"’"‘"’""”,
“msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”,
“rc”: 0