Merge "Ensure pip is installed for propose-update-constraints"

This commit is contained in:
Zuul 2020-06-17 07:53:27 +00:00 committed by Gerrit Code Review
commit c582c407ab
2 changed files with 19 additions and 1 deletions

View File

@ -1,7 +1,23 @@
- hosts: all
pre_tasks:
- name: Ensure pip
include_role:
name: ensure-pip
- name: Install git-review
command: pip3 install git-review
pip:
name: git-review
virtualenv: /opt/git-review
virtualenv_command: '{{ ensure_pip_virtualenv_command }}'
become: yes
- name: Link git-review
file:
src: /opt/git-review/bin/git-review
dest: /usr/local/bin/git-review
owner: root
group: root
state: link
become: yes
- name: Copy scripts to the script dir on the node

View File

@ -1,4 +1,6 @@
- hosts: all
roles:
- bindep
- ensure-pip
- revoke-sudo