Mark OSA repository as safe in git.config in CI

Change-Id: Ia072069b9acf88c0642a0e3674324733626c050e
(cherry picked from commit efa153ea15)
This commit is contained in:
Dmitriy Rabotyagov 2022-04-13 11:29:34 +02:00 committed by Dmitriy Rabotyagov
parent 0b0d241043
commit 4ea5b8b24c
1 changed files with 7 additions and 0 deletions

View File

@ -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