Mark OSA repository as safe in git.config in CI

Change-Id: Ia072069b9acf88c0642a0e3674324733626c050e
This commit is contained in:
Dmitriy Rabotyagov 2022-04-13 11:29:34 +02:00 committed by Dmitriy Rabotyagov
parent d081d92831
commit efa153ea15

View File

@ -20,6 +20,13 @@
vars: vars:
_zuul_src_path: "{{ ansible_user_dir }}/src" _zuul_src_path: "{{ ansible_user_dir }}/src"
tasks: 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 - name: Run bootstrap-ansible script
become: yes become: yes
become_user: root become_user: root