I’m a huge fan of the roots.io toolset for building and deploying high-quality WordPress sites. Part of that toolset is Trellis – a provisioning and deployment automation tool which typically requires a specific version of Ansible.
You can install a specific version of Ansible via Pip with the following command:
pip install ansible==18.104.22.168
22.214.171.124 with the version you require.