Ansible Automation Platform installer fails to copy bundle packages using rsync

Solution Verified - Updated -

Issue

  • Ansible Tower installer fails to copy bundle packages using rsync and throws the error below:

    TASK [repos_el : Copy bundle packages to repo source directory] *****************************************************************************************************************************
    [0;31mfatal: [node01.example.com]: FAILED! => {"changed": false, "cmd": "sshpass -d8 /bin/rsync --delay-updates -F --compress --delete-after --archive --rsh=/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --rsync-path=sudo rsync --out-format=<<CHANGED>>%i %n%L /ansible/ansible-tower-setup-bundle-3.7.0-4/roles/repos_el/files/../../../bundle/el7/repos/ root@node01.example.com:/var/lib/tower-bundle", "msg": "Warning: Permanently added 'controller@example.com,192.168.0.1' (ECDSA) to the list of known hosts.\r\nsudo: no tty present and no askpass program specified\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.2]\n", "rc": 12}
    

Environment

  • Red Hat Ansible Tower 3.5+
  • Red Hat Ansible Automation Platform 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content