Open GiorgioRegni opened 8 years ago
You can source ~/AnsibleScratch/env_config.sh
, else I'm not clear on exactly what you have in mind.
Originally, I wrote all of this to ~/.profile
, so sourcing environment variables was only necessary if you didn't want to log in and back out. Here's the history where that was changed, as part of what I understood to be changes made as part of #3.
Once you source the environment config, the ansible
and ansible-playbook
commands should be available regardless of what directory you are in.
Would you like to go back to the ~/.profile
approach?
What I saying is that the fact that env_config.sh is in ~/AnsibleScratch/ is not explicit when running setup.sh.
I think I updated the notification after install earlier, but it should definitely notify now.
The script says: To use Ansible, please configure your environment by running "source env_config.sh"
But I need to cd into AnsibleScratch to do that.