Re: [ansible-project] community.general.ssh_config: ModuleNotFoundError: No module named 'storm'

2021-04-18 Thread Amedee Van Gasse
Also asked on Stack Overflow and the answer there came on Friday afternoon. The answer is: Do pip install stormssh on the remote machine just before doing the ssh config. However for some reason the ssh config file was never written so in the end I gave up and I just hard linked my key file to i

Re: [ansible-project] community.general.ssh_config: ModuleNotFoundError: No module named 'storm'

2021-04-16 Thread Abhijeet Kasurde
Btw, the package name is "stormssh" not "storm" Storm - Storm is an Object Relational Mapper for Python developed at Canonical. Stormssh - Management commands to ssh config files. On Sat, Apr 17, 2021 at 10:16 AM Komal Suthar wrote: > As you are having python version 3 so try to install using

Re: [ansible-project] community.general.ssh_config: ModuleNotFoundError: No module named 'storm'

2021-04-16 Thread Komal Suthar
As you are having python version 3 so try to install using pip3 install storm. Well the error says that u are using storm as a module but in ansible there's no such. On Fri, Apr 16, 2021, 6:53 PM Abhijeet Kasurde wrote: > Can you please check if Python used by Ansible is same as pip environment?

Re: [ansible-project] community.general.ssh_config: ModuleNotFoundError: No module named 'storm'

2021-04-16 Thread Abhijeet Kasurde
Can you please check if Python used by Ansible is same as pip environment? On Fri, Apr 16, 2021 at 6:12 PM Amedee Van Gasse wrote: > I'm doing this: > > - name: Add Bitbucket in the SSH configuration > community.general.ssh_config: > user: "{{ jenkins_user }}" > host: bitbucket > r

[ansible-project] community.general.ssh_config: ModuleNotFoundError: No module named 'storm'

2021-04-16 Thread Amedee Van Gasse
I'm doing this: - name: Add Bitbucket in the SSH configuration community.general.ssh_config: user: "{{ jenkins_user }}" host: bitbucket remote_user: git hostname: "{{ bitbucket_hostname }}" port: '7999' identity_file: "/home/{{ jenkins_user }}/.ssh/{{ ssh_private_key }}"