I completed a full installation of Ansible on my ubuntu 16.04 machine. The installation was on Oracle Virtualbox. However, when I rebooted the machine Ansible was no longer installed.
Can someone let me know why it has disappeared - extremely annoying
packt@ubuntu2:~$ ansible --version
The program ‘ansible’ is currently not installed. You can install it by typing:
sudo apt install ansible
packt@ubuntu2:~$
I understand, but rule one in computer troubleshooting is “there is no such thing as magic”.
If you definitely installed it and it is gone now, then either you (or someone else) uninstalled it or you installed it elsewhere, installed it as guest or installed it on transient media. It cannot have uninstalled itself.
Another possibility occurs to me. Did you perhaps install it in a virtual python environment? If so, restart that environment and you may find Ansible waiting for you. This is a variant of “you installed it elsewhere”
To check this theory, perhaps you can go back in the shell command history to see exactly how you installed Ansible.
I did install on a virtual python environment …although I followed instructions on how to install it on the python environment (I’m a novice)…
Can you let me know how restart the environment - I would’ve thought that rebooting the machine would’ve been equivalent to restarting the environment.
As a side not… are you able to provide any further assistance with my other request regarding Ansible no loading my Azure credentials ?
Argh sorry, I switched threads by not paying attention.
Can’t help you with Azure, I have purchased an expensive barge pole for the express purpose of not touching Azure with
Re the virtual environment - try those “find” commands. If you find an executable called “ansible”, there’s your installation.
If not, then either you installed on a different system altogether or have somehow restored the virtual to a previous state (eg from snapshot) since installing.