wiggels / ansible-role-snipe-it

Ansible role to install, configure, and update a Snipe-IT server
https://galaxy.ansible.com/wiggels/snipeit
MIT License
5 stars 7 forks source link

git error on rerun for update #10

Closed cTurtle98 closed 1 year ago

cTurtle98 commented 1 year ago

when I re-run to update I get this error

TASK [wiggels.snipeit : Checkout Snipe-IT v6.0.14] ***************************************************************************************************************
fatal: [k0cdf-srv1-snipeit]: FAILED! => {"changed": false, "msg": "Failed to set a new url https://github.com/snipe/snipe-it.git for origin:  fatal: detected dubious ownership in repository at '/opt/snipe-it'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /opt/snipe-it\n"}