我正在对具有uri模块的api执行相同的请求/任务。当我在mac上运行python 3.7.1和ansible 2.8.1时,它可以工作。当我在使用Python2.7.5和ansible 2.4.2.0的red hat linux机器上执行时,它不能工作,并且我得到错误'dict object' has no attribute 'json' 以下是
我的服务器上有一个ansible 2.1.0,我通过vagrant和PC进行部署。角色"deploy“具有: become: true git: repo=git@bitbucket.orgFor information on working around this, see https://docs.ansible.com/ansible/b