Open NickFrazee opened 1 year ago
I can get around this by adding "serial: 1" in my playbook to execute on one node at a time, but makes for a long deployment.
Can you provide the playbook (just the task that uses ibmi_copy module) or if using command line, then the full command? Also helpful to know what version of collection, and the Ansible and python version on control node.
Here you go!
ansible 2.9.10 Python 3.9.16
module: ibmi_copy short_description: Copy a save file from local to a remote IBM i node version_added: '1.0.0'
here is the task in my playbook:
hosts: ibmi gather_facts: no collections:
tasks:
Couple of questions. Are you running the playbook on an IBM i as control node (just trying to understand environment)? Interesting that it works fine with serializing the end points / targets. I was wondering if you see a similar error with only setting "force" as True, while turning off backup?
Having an issue when trying to distribute a savf to multiple endpoints simultaneously. It works fine if it's only one node, but once I add in more I get the following errors:
[WARNING]: sftp transfer mechanism failed on [Sys1]. Use ANSIBLE_DEBUG=1 to see detailed information [WARNING]: sftp transfer mechanism failed on [Sys2]. Use ANSIBLE_DEBUG=1 to see detailed information [WARNING]: scp transfer mechanism failed on [Sys1]. Use ANSIBLE_DEBUG=1 to see detailed information [WARNING]: piped transfer mechanism failed on [Sys1]. Use ANSIBLE_DEBUG=1 to see detailed information [WARNING]: scp transfer mechanism failed on [Sys2]. Use ANSIBLE_DEBUG=1 to see detailed information [WARNING]: piped transfer mechanism failed on [Sys2]. Use ANSIBLE_DEBUG=1 to see detailed information
When turning on the debug, here is the output: