prechecks: be nice, use print in Py3 way

Change-Id: I7a99567b3d16830e1db641e82a7c9e4eca1ae4e6
This commit is contained in:
Marcin Juszkiewicz 2019-05-20 12:50:46 +02:00
parent 22a6e0216e
commit 1c866201e3

View File

@ -1,6 +1,6 @@
---
- name: Checking docker SDK version
command: "{{ ansible_python.executable }} -c \"import docker; print docker.__version__\""
command: "{{ ansible_python.executable }} -c \"import docker; print(docker.__version__)\""
register: result
changed_when: false
when: inventory_hostname in groups['baremetal']