title: "The specified collections path is not part of the configured Ansible collections paths" but I'm installing into a relative directory
body: <p>I'm installing the <code>ansible.posix</code> collection to use in my playbook like this:</p>
  <pre><code>ansible-galaxy collection install -r ansible/requirements.yml -p ansible/collections
  </code></pre>
  <p><em>However, I get this warning message that I want to get rid of:</em></p>
  <pre><code>[WARNING]: The specified collections path '/home/myuser/path/to/my/repo/ansible/collections' is not part of the
  configured Ansible collections paths '/home/myuser/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be
  picked up in an Ansible run.
  </code></pre>
  <p>My repo is laid out like this:</p>
  <pre><code>├── ansible
  │   ├── playbook.yml
  │   ├── files
  │   │   ├── ...
  │   ├── tasks
  │   │   ├── ...
  │   ├── requirements.yml
  ├── ansible.cfg
  ...
  </code></pre>
  <p><code>ansible.cfg</code> looks like this:</p>
  <pre><code>[defaults]
  timeout = 60
  callback_whitelist = profile_tasks
  </code></pre>
  <p>Here's the output of <code>ansible --version</code>:</p>
  <pre><code>ansible 2.9.17
    config file = /home/myuser/path/to/my/repo/ansible.cfg
    configured module search path = ['/home/myuser/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
    ansible python module location = /usr/local/lib/python3.7/dist-packages/ansible
    executable location = /usr/local/bin/ansible
    python version = 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]
  </code></pre>
  <p>In <a href="https://docs.ansible.com/ansible/2.9/user_guide/collections_using.html#installing-collections-with-ansible-galaxy" rel="nofollow noreferrer">the docs for installing collections with <code>ansible-galaxy</code></a>, they say the following:</p>
  <blockquote>
  <p>You can also keep a collection adjacent to the current playbook, under a <code>collections/ansible_collections/</code> directory structure.</p>
  <pre><code>play.yml
  ├── collections/
  │   └── ansible_collections/
  │               └── my_namespace/
  │                   └── my_collection/&lt;collection structure lives here&gt;
  </code></pre>
  </blockquote>
  <p>And, like the documentation suggests, I can still use the collection just fine in my play. But this warning message is quite annoying. <strong>How do I get rid of it?</strong></p>