ERROR! The API server (https://galaxy.ansible.com/api/) is not responding, please try again later.

0 votes

Hi Guys,

I am trying to create an ansible role using the ansible-galaxy command. But it is showing me the below error.

$ ansible-galaxy init web
ERROR! The API server (https://galaxy.ansible.com/api/) is not responding, please try again later. 
Sep 17 in Ansible by akhtar
• 27,980 points
36 views

1 answer to this question.

0 votes

Hi@akhtar,

It seems your ansible is connecting to the galaxy API when creating roles. You can use --offline in your command as shown below.

$ ansible-galaxy init --force --offline web
answered Sep 17 by MD
• 64,820 points

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
719 views
+2 votes
1 answer
0 votes
1 answer

Become : yes is not working while running ansible playbook from Jenkins pipeline job

Hi, Jenkins will not able to run the ...READ MORE

answered Jul 21 in Ansible by MD
• 64,820 points
155 views