awx-task fails for git
Failed to set a new url https://github.com/ansible/ansible-tower-samples for origin:
fatal: detected dubious ownership in repository at '/var/lib/awx/projects/_6__demo_project'
To add an exception for this directory, call:
git config --global --add safe.directory /var/lib/awx/projects/_6__demo_project\n
-
Add Command git config --global --add safe.directory '*'to build process -
Audit the above to ensure it's the right path as git config --global --add safe.directory '/var/lib/awx/projects/*'may be better.
Edited by Jon