title: ansible-galaxy - specify version range to install
body: <p>I am trying to install an Ansible Galaxy collection, but I need to force an older revision. <a href="https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#installing-an-older-version-of-a-collection" rel="nofollow noreferrer">According to the documentation</a>, I tried to perform installation the following ways:</p>
  <pre><code>$ ansible-galaxy collection install 'weareinteractive.ufw:&gt;=1.10.0,&lt;2.0.0'
  Process install dependency map
  ERROR! Failed to find collection weareinteractive.ufw:&gt;=1.10.0,&lt;2.0.0
  $ ansible-galaxy collection install 'weareinteractive.ufw:&lt;2.0.0'
  Process install dependency map
  ERROR! Failed to find collection weareinteractive.ufw:&lt;2.0.0
  </code></pre>
  <p>I globally get the same kind of error when trying to do the same from this <code>requirements.yml</code>:</p>
  <pre><code>---
  - name: weareinteractive.ufw
    version: '&gt;=1.8.0,&lt;2.0.0'
  </code></pre>
  <p>Running the command</p>
  <pre><code>$ ansible-galaxy install -r requirements.yml
  - downloading role 'ufw', owned by weareinteractive
  [WARNING]: - weareinteractive.ufw was NOT installed successfully: - the specified version (&gt;=1.8.0,&lt;2.0.0) of weareinteractive.ufw was not found in the list of available versions ([{'id': 141713, 'url': '', 'related': {}, 'summary_fields': {}, 'created':
  '2020-11-25T18:52:30.171540Z', 'modified': '2020-11-25T18:52:30.171568Z', 'name': '2.0.1', 'version': '2.0.1', 'commit_date': '2020-11-25T10:51:53-05:00', 'commit_sha': '30b1fdc8f5440e865d3fbeb83894941bf70739c7', 'download_url':
  'https://github.com/weareinteractive/ansible-ufw/archive/2.0.1.tar.gz', 'active': None}, {'id': 76043, 'url': '', 'related': {}, 'summary_fields': {}, 'created': '2018-10-04T14:07:47.602784Z', 'modified': '2018-10-04T14:07:47.602810Z', 'name': '1.8.0', 'version':
  '1.8.0', 'commit_date': '2018-10-04T10:05:07-04:00', 'commit_sha': 'ae776a7dc255ba5dc679cedee32129ba22c0e797', 'download_url': 'https://github.com/weareinteractive/ansible-ufw/archive/1.8.0.tar.gz', 'active': None}, .....]).
  ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
  </code></pre>
  <p>What am I missing?</p>
  <p>Edit: I'm using ansible / ansible-galaxy 2.9.16 but I expect a solution that will still works with ansible 2.10</p>