# Can't update a custom private plugin with ansible deploy (The .git directory is missing from ...)

**URL:** https://discourse.roots.io/t/cant-update-a-custom-private-plugin-with-ansible-deploy-the-git-directory-is-missing-from/22481
**Category:** trellis
**Tags:** deploys, ansible, plugin, composer
**Created:** 2022-03-07T20:08:17Z
**Posts:** 14
**Showing post:** 14 of 14

## Post 14 by @maroluke — 2022-04-27T12:38:07Z

Hey @mattia + @13milliseconds i guess this thread could be interessting to our issue: [“Help I tried to `trellis up` an older project and it’s not working!” and other stories](https://discourse.roots.io/t/help-i-tried-to-trellis-up-an-older-project-and-its-not-working-and-other-stories/22266/1)

Github recently changed its ssh key rules. So the old ones, since you installed your trellis project, are not working anymore.

Instead dealing manualy with tokkens, i recommend to do it “the right way” by updating your known\_hosts.yml file and re-provision your server.

Finaly it solved my issue.  
The output is green (i love green these days), no errors.  
I hope this helps you too.  
Let me know if you have any questions. :heart:

 ![Bildschirmfoto 2022-04-27 um 15.08.17](https://discourse.roots.io/uploads/default/original/2X/f/fc4f5a73c2fd2008ec92245d7666fd91fe9de66d.png)

---

_[View the full topic](https://discourse.roots.io/t/cant-update-a-custom-private-plugin-with-ansible-deploy-the-git-directory-is-missing-from/22481)._
