]> git.immae.eu Git - github/fretlink/ansible-clever.git/commit
fix: clever_app_root is provided & exec is outside of "parent dir" 15/head
authorPaul Bonaud <paul.bonaud@fretlink.com>
Mon, 5 Nov 2018 09:21:02 +0000 (10:21 +0100)
committerPaul Bonaud <paul.bonaud@fretlink.com>
Mon, 5 Nov 2018 09:21:02 +0000 (10:21 +0100)
commit70a4225043ccae14e8053811b8e84d12e10e0587
treee6d6529270604d858175c6097b100c0baa549892
parent36858ff42eae09bd653d7fec8b770c93d91a06ab
fix: clever_app_root is provided & exec is outside of "parent dir"

Imagine such a usecase:
- project is in `/project`
- executing Ansible in `/ansible` with `clever_app_root: /project`
will fail deploying with the git push with the following error:
```
Not a git repository (or any of the parent directories): .git"
```

This PR fixes this.
tasks/deploy.yml