Don't rely on pip and tox installed on zuul node
Change-Id: I3b715a4cc5ae064b458694ab98feb2b6cc226e65
This commit is contained in:
parent
16414767e0
commit
16ff2531e4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user