Merge "Don't rely on pip and tox installed on zuul node"

This commit is contained in:
Zuul
2020-06-18 03:31:44 +00:00
committed by Gerrit Code Review

View File

@@ -27,10 +27,16 @@
path: "{{ ansible_user_dir }}/src/{{ zuul.project.canonical_name }}/yamllint.conf"
register: yamllintconf
- name: Install jq
- name: Install jq and pip
apt:
pkg:
- jq
- python3-pip
become: yes
when: yamllintconf.stat.exists == True
- name: Install tox
shell: pip3 install -U tox
become: yes
when: yamllintconf.stat.exists == True