prechecks: be nice, use print in Py3 way
Change-Id: I7a99567b3d16830e1db641e82a7c9e4eca1ae4e6
This commit is contained in:
parent
22a6e0216e
commit
1c866201e3
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Checking docker SDK version
|
- 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
|
register: result
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: inventory_hostname in groups['baremetal']
|
when: inventory_hostname in groups['baremetal']
|
||||||
|
Loading…
Reference in New Issue
Block a user