I installed ansible in my Mac using PIP. After installation i am not able to execute any ansible commands.
Fix :
Only for current session, you can export the path
export PATH="/Users/<username>/Library/Python/3.10/bin:$PATH"
For making it permeant, you need to open the file
vi ~/.zshrc (If not present, feel free to create it)
export PATH="/Users/<username>/Library/Python/3.10/bin:$PATH:
Source it,
source ~/.zshrc
After this, i could able to use ansible commands in my Mac
No comments:
Post a Comment