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