diff --git a/tasks/install.yml b/tasks/install.yml index c8b6bc2..c419bdb 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -15,7 +15,7 @@ - name: Install python packages pip: name: "{{ item.name }}" - executable: "{{ item.exec | default('/usr/bin/pip' + ansible_python.version.major) }}" + executable: "{{ item.exec | default('/usr/bin/pip' + ansible_python.version.major | string) }}" state: present loop: "{{ dockerengine_packages_python }}" loop_control: