[infrared] install git before using it
Some tester nodes may not have git installed The tobiko infrared plugin should check git is installed before using it to checkout the specified tobiko version Change-Id: Icac436fe4070c3b902905271379a2a00f7e1d6ea
This commit is contained in:
parent
18b6a2fdcd
commit
721f370521
@ -16,6 +16,13 @@
|
||||
state: directory
|
||||
register: create_dest_dir
|
||||
|
||||
- name: install git
|
||||
ignore_errors: yes
|
||||
become: true
|
||||
package:
|
||||
name: git
|
||||
state: present
|
||||
|
||||
- name: "checkout files from '{{ deploy_git_repo }}[{{ deploy_git_refspec }}]' to '{{ deploy_dir }}'"
|
||||
git:
|
||||
dest: '{{ deploy_dir }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user