Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally add COMPOSER_HOME/vendor/bin to global $PATH #3

Closed
geerlingguy opened this issue Jul 11, 2015 · 1 comment
Closed

Optionally add COMPOSER_HOME/vendor/bin to global $PATH #3

geerlingguy opened this issue Jul 11, 2015 · 1 comment

Comments

@geerlingguy
Copy link
Owner

Adding the following inside /etc/profile.d/composer.sh will add the COMPOSER_HOME/vendor/bin path to all users' PATHs on the system. This should make setup for global require'd packages simpler, so the user doesn't have to do the path modification himself.

@aaronbauman
Copy link

This seems to be working for an interactive login, but the new $PATH variable isn't available to my other ansible tasks. They're still seeing only the value from /etc/environment since the ansible shell is not interactive.

How do I get ansible to make this available to other tasks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants