title: Ansible always fails at 22nd line in requirements.yml file
body: <p>I run the following command: <code>ansible-galaxy install -r requirements.yml --force -vvv</code></p>
  
  <p>This is my requirements.yml file:</p>
  
  <pre><code>---
  - src: andrewrothstein.hub
  - src: geerlingguy.adminer
  - src: geerlingguy.apache
  - src: geerlingguy.certbot
  - src: geerlingguy.composer
  - src: geerlingguy.docker
  - src: geerlingguy.drush
  - src: geerlingguy.git
  - src: geerlingguy.java
  - src: geerlingguy.jenkins
  - src: geerlingguy.memcached
  - src: geerlingguy.munin
  - src: geerlingguy.nginx
  - src: geerlingguy.mysql
  - src: geerlingguy.nodejs
  - src: geerlingguy.php
  - src: geerlingguy.php-mysql
  - src: geerlingguy.php-versions
  - src: geerlingguy.pip
  - src: geerlingguy.postfix
  - src: geerlingguy.ruby
  - src: geerlingguy.solr
  - src: idealista.consul-role
  - src: kibatic.traefik
  - src: oefenweb.swapfile
  - src: sbaerlocher.wp-cli
  - src: wtanaka.jq
  </code></pre>
  
  <p>Whatever is on the 22 line (in this case ruby), it fails with:</p>
  
  <pre><code>- downloading role 'ruby', owned by geerlingguy
  https://galaxy.ansible.com/api/v1/roles/?owner__username=geerlingguy&amp;name=ruby
  ERROR! Unexpected Exception, this is probably a bug: Failed to connect to galaxy.ansible.com at port 443: [Errno 8] nodename nor servname provided, or not known
  the full traceback was:
  
  Traceback (most recent call last):
    File "/usr/local/bin/ansible-galaxy", line 118, in &lt;module&gt;
      exit_code = cli.run()
    File "/Library/Python/2.7/site-packages/ansible/cli/galaxy.py", line 162, in run
      self.execute()
    File "/Library/Python/2.7/site-packages/ansible/cli/__init__.py", line 156, in execute
      fn()
    File "/Library/Python/2.7/site-packages/ansible/cli/galaxy.py", line 398, in execute_install
      installed = role.install()
    File "/Library/Python/2.7/site-packages/ansible/galaxy/role.py", line 210, in install
      role_data = api.lookup_role_by_name(self.src)
    File "/Library/Python/2.7/site-packages/ansible/galaxy/api.py", line 56, in wrapped
      return method(self, *args, **kwargs)
    File "/Library/Python/2.7/site-packages/ansible/galaxy/api.py", line 193, in lookup_role_by_name
      data = self.__call_galaxy(url)
    File "/Library/Python/2.7/site-packages/ansible/galaxy/api.py", line 56, in wrapped
      return method(self, *args, **kwargs)
    File "/Library/Python/2.7/site-packages/ansible/galaxy/api.py", line 93, in __call_galaxy
      timeout=20)
    File "/Library/Python/2.7/site-packages/ansible/module_utils/urls.py", line 1162, in open_url
      client_cert=client_cert, client_key=client_key, cookies=cookies)
    File "/Library/Python/2.7/site-packages/ansible/module_utils/urls.py", line 1070, in open
      r = urllib_request.urlopen(*urlopen_args)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
      return opener.open(url, data, timeout)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
      req = meth(req)
    File "/Library/Python/2.7/site-packages/ansible/module_utils/urls.py", line 781, in http_request
      raise ConnectionError('Failed to connect to %s at port %s: %s' % (self.hostname, self.port, to_native(e)))
  ConnectionError: Failed to connect to galaxy.ansible.com at port 443: [Errno 8] nodename nor servname provided, or not known
  </code></pre>
  
  <p>If I swap <code>geerlingguy.git</code> with <code>geerlingguy.ruby</code>, the ruby item downloads correctly but now git gives the same error. </p>
  
  <pre><code>Ansible: 2.7.13
  PIP: pip 19.2.3 from /Library/Python/2.7/site-packages/pip (python 2.7)
  </code></pre>
  
  <p>I'm pretty sure this worked at some point. Does anyone know how to fix this?</p>