diff --git a/ansible/roles/prechecks/tasks/package_checks.yml b/ansible/roles/prechecks/tasks/package_checks.yml index 210f39dd53..ab504fede4 100644 --- a/ansible/roles/prechecks/tasks/package_checks.yml +++ b/ansible/roles/prechecks/tasks/package_checks.yml @@ -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']