Mark OSA repository as safe in git.config in CI
Change-Id: Ia072069b9acf88c0642a0e3674324733626c050e
(cherry picked from commit efa153ea15
)
This commit is contained in:
parent
0b0d241043
commit
4ea5b8b24c
|
@ -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