I deleted the remaining files from /usr/local/bin and reinstalled ansible 
with apt-get again, but something is wrong:

$ ansible all -m ping
> bash: /usr/local/bin/ansible: No such file or directory
>

Any tips?


2014. december 21., vasárnap 18:29:24 UTC+1 időpontban Bence Takács a 
következőt írta:
>
> Now I see what is the main issue: first I tried to install ansible from 
> source (I found a howto about that first...)
>
> And it has no 'remove' or 'uninstall' build target. So I just deleted the 
> directories I found...
>
> Now I tried some stronger cleanup: 
>
>> sudo apt-get remove ansible
>
> sudo pip uninstall ansible
>
>  
> I also have some remainings:
>
>> $ whereis ansible
>> ansible: /etc/ansible /usr/local/bin/ansible
>>
>
> How should I remove those?
>
> Regards:
>    Bence
>
> 2014. december 20., szombat 11:31:33 UTC+1 időpontban Bence Takács a 
> következőt írta:
>>
>> Following the official Ubuntu guide (
>> http://docs.ansible.com/intro_installation.html#latest-releases-via-apt-ubuntu)
>>  
>> I experienced the following problem:
>>
>> $ ansible --version
>>> ansible 1.9
>>>   configured module search path = None
>>> $ ansible all -m ping
>>> nas | FAILED => module ping not found in configured module paths.  
>>> Additionally, core modules are missing. If this is a checkout, run 'git 
>>> submodule update --init --recursive' to correct this problem.
>>>
>>
>> Where could I find the default modules like 'ping'? 
>>
>> The /usr/share/ansible directory is empty, 
>> The /etc/ansible directory contains only the ansible.cfg and the hosts 
>> file (I already modified the latter and added my 'nas').
>> The ~/.ansible cotains only an empty directory called cp
>>
>> If I run the suggested command, it says:
>>
>> $ git submodule update --init --recursive
>>> fatal: Not a git repository (or any of the parent directories): .git
>>>
>>
>> So: where are the default modules or how can I get them? :-)
>>
>> I'm on Ubuntu 14.04
>>
>> Regards:
>>    Bence
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/156f97bd-2206-4482-8583-ad4a48f2bcfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to