Merge "Don't rely on pip and tox installed on zuul node"
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user