# ansible-galaxy install is failing

**URL:** <https://forum.ansible.com/t/ansible-galaxy-install-is-failing/26210>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [December 6, 2017, 2:48am UTC](https://forum.ansible.com/t/ansible-galaxy-install-is-failing/26210 "2017-12-06T02:48:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SK1](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@SK1](https://forum.ansible.com/u/SK1)\
**Post date:** [December 6, 2017, 2:48am UTC](https://forum.ansible.com/t/ansible-galaxy-install-is-failing/26210/1 "2017-12-06T02:48:35Z")

</div>

_I am following [https://eos.arista.com/arista-eos-roles-for-ansible/](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/](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/](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/](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/](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/](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]#
