diff --git a/tasks/install.yaml b/tasks/install.yaml index b439d23..8653f65 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -32,9 +32,10 @@ - name: Install missing pip dependencies become: yes pip: - name: "{{ item }}" + name: "{{ item.name }}" + version: "{{ item.version|default(omit) }}" virtualenv: "{{ zuul_pip_virtualenv|default(omit) }}" with_items: - - jenkins-job-builder - - pyzmq + - { name: 'jenkins-job-builder', version: '1.6.1' } + - { name: 'pyzmq' } when: zuul_install_method == 'git' or zuul_install_method == 'pip'