ESTABLISH SSH CONNECTION FOR USER: ubuntu

HELLO ALL
I have problem with ansible ping from jenkins pipeline
I try using
ansible -i hosts prod -m ping

but I receive error

this is log from jenkins pipeline

:

[Pipeline] sh + ansible -i hosts prod -m ping -vvv [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 2.7.17 (default, Feb 27 2021, 15:10:58) [GCC 7.5.0]. This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible [core 2.11.3] config file = None configured module search path = [u’/home/jenkins/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’] ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible ansible collection location = /home/jenkins/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 2.7.17 (default, Feb 27 2021, 15:10:58) [GCC 7.5.0] jinja version = 2.11.3 libyaml = True No config file found; using defaults host_list declined parsing /home/jenkins/workspace/test_docker_cloud/hosts as it did not pass its verify_file() method script declined parsing /home/jenkins/workspace/test_docker_cloud/hosts as it did not pass its verify_file() method auto declined parsing /home/jenkins/workspace/test_docker_cloud/hosts as it did not pass its verify_file() method Parsed /home/jenkins/workspace/test_docker_cloud/hosts inventory source with ini plugin Skipping callback ‘default’, as we already have a stdout callback. Skipping callback ‘minimal’, as we already have a stdout callback. Skipping callback ‘oneline’, as we already have a stdout callback. META: ran handlers <192.168.1.10> ESTABLISH SSH CONNECTION FOR USER: ubuntu <192.168.1.10> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ‘User=“ubuntu”’ -o ConnectTimeout=10 -o ControlPath=/home/jenkins/.ansible/cp/d373db3ccc 192.168.1.10 ‘/bin/sh -c ‘"’“‘echo ~ubuntu && sleep 0’”’"‘’ <192.168.1.10> (255, ‘’, “Warning: Permanently added ‘192.168.1.10’ (ECDSA) to the list of known hosts.\r\n±±±±±±±±±±±±±+±±±±±±±±±±±±±±±±±+±±±+\n LINUXVMIMAGES.COM\n±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±+\n User Name: ubuntu\n Password: ubuntu (sudo su -)\n\n OR\n\n User Name: linuxvmimages\n Password: linuxvmimages.com (sudo su -)\nubuntu@192.168.1.10: Permission denied (publickey,password).\r\n”) prod1 | UNREACHABLE! => { “changed”: false, “msg”: “Failed to connect to the host via ssh: Warning: Permanently added ‘192.168.1.10’ (ECDSA) to the list of known hosts.\r\n±±±±±±±±±±±±±+±±±±±±±±±±±±±±±±±+±±±+\n LINUXVMIMAGES.COM\n±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±+\n User Name: ubuntu\n Password: ubuntu (sudo su -)\n\n OR\n\n User Name: linuxvmimages\n Password: linuxvmimages.com (sudo su -)\nubuntu@192.168.1.10: Permission denied (publickey,password).”, “unreachable”: true } [Pipeline] }

file hosts:

[prod]
prod1 ansible_host=192.168.1.10 ansible_user=ubuntu

target host : 192.168.1.10, user: ubuntu

from terminal all works right

What is missing ?

without jenkins pipeline