Ash*_*har 5 python shell ansible
我有一个非常基本的剧本,它只是使用shell module目标远程主机上的运行脚本。
shell module
然而,在输出中它没有说明python interpreter not found.
python interpreter not found
在每个目标上安装 python 不是我可以追求的解决方案。
是否可以使用我的 Ansible 自动化来运行剧本并使用 shell 模块执行脚本而无需依赖 python?
Zei*_*tor 7
除了raw和script模块之外,任何 ansible 操作都需要在目标节点上使用 python 。
raw
script
参考:
归档时间:
5 年,11 月 前
查看次数:
1565 次
最近记录:
5 年,2 月 前