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