Add a workaround to fix the CI

Change-Id: I9f939d115e0c6d167ab437c4420e06b4b211c66b
This commit is contained in:
Dmitry Tantsur 2022-04-14 16:24:19 +02:00
parent d06a066813
commit 018a19c1e8
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@
- set_fact:
metalsmith_src_dir: '{{ ansible_user_dir }}/src/opendev.org/openstack'
# https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9
- name: Mark the metalsmith as safe for git
command: git config --global --add safe.directory "{{ metalsmith_src_dir }}/metalsmith"
become: true
- name: Install requirements for metalsmith
pip:
requirements: "{{ metalsmith_src_dir }}/metalsmith/requirements.txt"