Mark OSA repository as safe in git.config in CI
Change-Id: Ia072069b9acf88c0642a0e3674324733626c050e
(cherry picked from commit efa153ea15
)
This commit is contained in:
parent
73cee6848d
commit
d12bd110ce
|
@ -11,7 +11,7 @@
|
|||
- name: config_template
|
||||
scm: git
|
||||
src: https://opendev.org/openstack/ansible-config_template
|
||||
version: a6347c381154deab33aca49188bea1992dc179ce
|
||||
version: 78e7f22caa79a19ecfed9d4e378bd0d261a93a11
|
||||
trackbranch: master
|
||||
- name: galera_client
|
||||
scm: git
|
||||
|
|
|
@ -17,7 +17,16 @@
|
|||
hosts: all[0]
|
||||
vars_files:
|
||||
- "{{ zuul.executor.work_root }}/osa-gate-scenario.yml"
|
||||
vars:
|
||||
_zuul_src_path: "{{ ansible_user_dir }}/src"
|
||||
tasks:
|
||||
- name: Mark OSA repository as safe
|
||||
become: yes
|
||||
become_user: root
|
||||
git_config:
|
||||
name: safe.directory
|
||||
scope: global
|
||||
value: "{{ _zuul_src_path }}/opendev.org/openstack/openstack-ansible"
|
||||
- name: Run bootstrap-ansible script
|
||||
become: yes
|
||||
become_user: root
|
||||
|
|
Loading…
Reference in New Issue