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, 2020 in Ansible by akhtar
• 38,260 points
3,940 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, 2020 by MD
• 95,460 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
+2 votes
1 answer
0 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, 2020 in Ansible by MD
• 95,460 points
1,884 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP