该错误表明在 Ansible 执行 community.general.ssh_config 模块时,需要的 storm 模块未安装。可以通过以下命令安装 storm 模块:
pip install storm
或者在 Ansible 执行过程中指定 Python 路径,以安装 storm 模块:
ansible-playbook playbook.yml -e 'ansible_python_interpreter=/usr/bin/python3'
其中 /usr/bin/python3 为 Python 安装路径。这样就可以解决 Ansible community.general.ssh_config: ModuleNotFoundError: No module named 'storm' 错误。
上一篇:软件要注册码-注册码让人头疼,难找还易失效,软件为何如此折腾用户?
下一篇:Ansiblecommunity.vmware.vmware_guest_instant_clone失败,Foldernotfound。