TASK [prechecks: Checking docker SDK version] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Fatal: [localhost] : FAILED!=> {" changed ": false," CMD ": ["/usr/bin/python", "- c", "the import docker; print docker. __version__"], "delta" : "0:00:00. 315462", "end" : "the 2017-11-07 23:34:01. 199717", "failed" : true, "failed_when_result" : true, "rc" : 0, "start", "the 2017-11-07 23:34:00. 884255", "stderr" : ""," stderr_lines ": []," stdout ":", version 1.8.1 ", "stdout_lines:" [] ", version 1.8.1 "}
My software version is as follows:
Docker 1.12.5
Docker API 1.24
Docker py, version 1.8.1
Ansible 2.4.1.0
Python: 2.7
Jinja2:2.9.6
That version the following the club's official website (Dependencies for the stable/ocata branch are) : what I use is ocata version
The Component Min Version of Max Version Comment
Ansible 2.0.0 none On deployment host
Docker 1.10.0 none On the target nodes
Docker Python, version 1.8.1 none On the target nodes
Python Jinja2 2.8.0 none On deployment host
For help ~
CodePudding user response:
I am rocky version, also appeared the same error