Unexpected Exception: name 'basestring' is not defined when invoking ansible2

后端 未结 5 742
逝去的感伤
逝去的感伤 2020-12-28 11:37

I\'m trying to execute ansible2 commnads...

When I do:

ansible-playbook -vvv -i my/inventory my/playbook.yml

I get:

5条回答
  •  借酒劲吻你
    2020-12-28 12:27

    Replace basestring with str. In 2.x basestring is there. but in 3.x the basestring has been replaced with "str".

提交回复
热议问题