ansible-role-git
ansible-role-git copied to clipboard
Use the git_install_path when determining the git version
There are a few small issues that break idempotence when a custom git_install_path is used:
- When
{{ git_install_path}}/binisn't in the PATH environment variable - When
{{ git_install_path}}/binhas a lower precedence than a system installed version of git
Presumably when git_install_path is used, the expectation is that git will be built and installed under the following conditions:
- if git isn't present on that path or...
- the version of git found under
{{ git_install_path}}/binis different to the version specified ingit_version
This proposed change ensures that you always check the specific git executable found at the path defined in git_install_path and don't accidentally pick up any other git installation.
This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This pr has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.