Mark OSA repository as safe in git.config in CI
Change-Id: Ia072069b9acf88c0642a0e3674324733626c050e
(cherry picked from commit efa153ea15
)
This commit is contained in:
parent
a591d0fe48
commit
65f0aa5ee1
|
@ -11,7 +11,7 @@
|
|||
- name: config_template
|
||||
scm: git
|
||||
src: https://opendev.org/openstack/ansible-config_template
|
||||
version: 59a80f9a443dd16b780eff9360eac987a55a5c67
|
||||
version: 78e7f22caa79a19ecfed9d4e378bd0d261a93a11
|
||||
trackbranch: master
|
||||
- name: galera_client
|
||||
scm: git
|
||||
|
|
|
@ -20,6 +20,13 @@
|
|||
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