我在一个环境中有一个工作的Ansible设置,但我不能让它在我的新环境中正常运行。
当我在新的环境中运行时,我得到了以下错误,并且不确定在哪里可以缩小问题的范围(Python不匹配?> PUT /root/.ansible/tmp/ansible-local-25254o2_iRu/tmpqOs7iz TO /root/.ansible/tmp/ansible-tmp-159
我的ansible服务器中有python2.7和python3.5,而它正在使用python2.7执行攻略。我想让ansible在执行攻略时使用python3.5。in order: 2 also changed default interpreter path in ansible.cfg as well但是,ansible仍然没有运行python3。