HuaweiSwitch / CloudEngine-Ansible

Ansible modules to automate HUAWEI CloudEngine switches
GNU General Public License v3.0
144 stars 51 forks source link

scp module for paramiko is not in requirments for install #36

Open rikard0 opened 6 years ago

rikard0 commented 6 years ago

ce_file_copy module return error:

"msg": "'Error: No scp package, please install it.'"

simple pip install scp resolve the issue. This python scp module should be in requirments when installing CloudEngine-Ansible

justbiaoliu commented 6 years ago

Thanks for your suggestion. We have already reminded customer to install scp, we do not think that default installation of scp is better. Since not all users will use scp function in file of ce_file_copy. What do you think?

rikard0 commented 6 years ago

Is there option not to use scp in ce_file_copy module?

ce module for ansible is now distributed directly with ansible and documentation of modules is also in ansible documentation. I think there are two options, update the documentation so people will know that they need to install scp module or add it to setup requirments so ansible installation install it with bunch of others python modules.

justbiaoliu commented 6 years ago

Hello,ansible itself will not install scp by default. So we remind users to using scp if it do not appear to be installed. All partners are in the same way. And users can install install ansible(after version 2.4.2) directly and easily, since we push all the modules to the ansible master, we will not have to use CloudEngine-Ansible to install. We can modify our installation, but not ansible master code.

dberardo-com commented 11 months ago

ansible question:

is it now possible to run paramiko while using transport mode scp ?

and: is paramiko any faster than regular ssh connection ?