title: Ansible not looking for modules in ./library alongside playbook
body: <p>In the ansible documentation <a href="http://docs.ansible.com/ansible/intro_configuration.html#library">intro_configuration</a> it is said that:</p>
  
  <blockquote>
    <p>Ansible ... it also will look for modules in the ”./library”
      directory alongside a playbook.</p>
  </blockquote>
  
  <p>Im my case the only way I get that the directive provide by <code>gaqzi.ssh-config</code> was seen by ansible was to explicitly export ANSIBLE_LIBRARY with a full path ;(</p>
  
  <p>Without that <code>gaqzi.ssh-config</code> module is not found by ansible, regarding the documentation it should.</p>
  
  <p>Here what I have to do to make it work::</p>
  
  <pre><code>$ cd playbook   # my folder were the plabooks are
  $ ansible-galaxy install -p library gaqzi.ssh-config  # I get a lib
  $ export ANSIBLE_LIBRARY=/home/me/full/path/to/the/above/playbook/library
  $    # the export above is annoying
  </code></pre>
  
  <p>How can I dynamicaly check the places Ansible is really looking for 'library' ?</p>
  
  <p>PS1: I'm using ansible 2.0 and vagrant 1.8.1::</p>
  
  <pre><code>$ vagrant --version
  Vagrant 1.8.1
  $ ansible --version
  ansible 2.0.0.2
  config file = /etc/ansible/ansible.cfg
  $
  </code></pre>
  
  <p>PS2: I took care to remove all ansible.cfg/.ansible.cfg files excepted the one provide by ubuntu in <code>/etc/ansible/ansible.cfg</code></p>