Ansible tower issue

Hi all,

Kindly help on the below issue,

I was trying to 2gb file from ansible controller to ansible node where am using copy / synchronize module and my all playbooks are working fine in the ansible cli, when it come to ansible tower am getting below error.

Kindly help what could be the issue.

Error:

fatal: [ p01lap095.corp.tet.tst ]: FAILED! => {
“changed”: false,
“cmd”: “sshpass -d8 /usr/bin/rsync --delay-updates -F --compress --archive --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --out-format=<>%i %n%L /opt/tibco/image/binaries.tar tibco@ p01lap095.corp.tet.tst :/opt/tibco”,
“invocation”: {
“module_args”: {
“_local_rsync_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”,
“_local_rsync_path”: “rsync”,
“_substitute_controller”: false,
“archive”: true,
“checksum”: false,
“compress”: true,
“copy_links”: false,
“delete”: false,
“dest”: “tibco@ p01lap095.corp.tet.tst :/opt/tibco”,
“dest_port”: null,
“dirs”: false,
“existing_only”: false,
“group”: null,
“link_dest”: null,
“links”: null,
“mode”: “push”,
“owner”: null,
“partial”: false,
“perms”: null,
“private_key”: null,
“recursive”: null,
“rsync_opts”: ,
“rsync_path”: null,
“rsync_timeout”: 0,
“set_remote_user”: true,
“src”: “/opt/tibco/image/binaries.tar”,
“ssh_args”: null,
“times”: null,
“verify_host”: false
}
},
“msg”: “Warning: Permanently added ‘p01lap095.corp.tet.tst,xxx.xxx.xx.xxx’ (ECDSA) to the list of known hosts.\r\n********************************************************************************\n* THIS SYSTEM AND ALL RELATED INFORMATION ACCESSED THEREBY IS THE PROPERTY \n*******************************************************************************\n\nrsync: change_dir \”/opt/tibco/image\" failed: Permission denied (13)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]\n",
“rc”: 23
}

Looks like your issue is a permissions problem:

change_dir \“/opt/tibco/image\” failed: Permission denied

I’d check permissions on that directory. Seems like it’s probably the destination directory at first glance. Make sure the user that ansible is connecting as has permissions to write there.

But i am able to do it in the ansible cli with same user, but facing issue in the tower.

Can u please help where i have missed.

Can any one help on this ?

If this is the case please use the dedicated tower support channels

I’m not trying to be snarky, but if you are truly “able to do it in the ansible cli with same user” then you wouldn’t be receiving the error “rsync: change_dir \”/opt/tibco/image\" failed: Permission denied (13)"

If this is as urgent as your messages are implying, you need to try some of the suggestions that were listed above.

If this playbook is working through Tower works on a couple of other systems, but not this specific system, then you need to provide information about both systems, especially the “/opt/tibco/image” directory. For instance, what user and group own the “image” directory? Is the “/opt/tibco/image” actually a directory? How do those compare to the systems that work?

You’ve given us nothing additional to work with on this error aside from the generic error message. (And Googling for the error message - ‘rsync: change_dir "/opt/tibco/image" failed: Permission denied (13)’ - shows that most any time this occurs, it is due to invalid permissions to access that directory.)

And as “dick....@geant.org” mentioned, if this is urgent and critical to your business, you should have a support contract with Red Hat for business-critical tools such as Ansible Tower.