Revert "openqa/worker: handle git 'safety' check for test dir"

This reverts commit 34b3d3a5cc. On
second thoughts it's kinda ugly and I need to think about other
options...
This commit is contained in:
Adam Williamson 2022-05-26 15:23:13 -07:00
parent 34b3d3a5cc
commit f869c0f643

View file

@ -170,12 +170,6 @@
- include_tasks: tap-setup.yml
when: openqa_tap|bool
- name: Tell git it's OK for _openqa-worker to run 'git' on the test dir
command: git config --global --add safe.directory /var/lib/openqa/share/tests/fedora
become: yes
become_user: _openqa-worker
when: openqa_nfs_worker|bool
# this is kinda lazy - we could have a separate openqa_swtpm var so we
# we could potentially separate tap worker hosts from swtpm ones - but
# it makes workers.ini templating annoyingly awkward (we need way more