ansible-galaxy install is failing

I am following https://eos.arista.com/arista-eos-roles-for-ansible/ to setup Ansible for Arista devices and I am receiving the below errors:

[root@dev14 ansible]# ansible-galaxy install arista.eos-system
[WARNING]: - arista.eos-system was NOT installed successfully: Failed to get data from the API server (https://galaxy.ansible.com/api/): Connection to proxy failed

ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
[root@dev14 ansible]# ansible-galaxy install arista.eos
[WARNING]: - arista.eos was NOT installed successfully: Failed to get data from the API server (https://galaxy.ansible.com/api/): Connection to proxy failed

ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
[root@dev14 ansible]# ansible-galaxy install arista.eos-system --ignore-errors
[WARNING]: - arista.eos-system was NOT installed successfully: Failed to get data from the API server (https://galaxy.ansible.com/api/): Connection to proxy failed

[root@dev14 ansible]# ansible-galaxy install arista.eos --ignore-errors
[WARNING]: - arista.eos was NOT installed successfully: Failed to get data from the API server (https://galaxy.ansible.com/api/): Connection to proxy failed

[root@dev14 ansible]#

I can access the url using curl command without any issue:

[root@dev14 ansible]# curl -I https://galaxy.ansible.com/api/
HTTP/1.1 200 Connection established

HTTP/1.1 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5
Set-Cookie: sessionid=wlmm9uwqp9vad9z5pobql5sgn7a5xzy0; expires=Wed, 20-Dec-2017 02:43:28 GMT; httponly; Max-Age=1209600; Path=/
Vary: Accept,Cookie
X-Frame-Options: SAMEORIGIN
Connection: keep-alive

[root@dev14 ansible]#

Any idea where I am going wrong? Below are the ansible and python versions in use.

[root@dev14 ansible]# ansible --version
ansible 2.3.2.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
[root@dev14 ansible]# ansible-galaxy --version
ansible-galaxy 2.3.2.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
[root@dev14 ansible]#