How to deal with galaxy.ansible.com downtime?

289 views
Skip to first unread message

Michael Kebe

unread,
Mar 11, 2022, 9:15:45 AM3/11/22
to AWX Project

We are using awx for our ansible deployment.

It happens from time to time that galaxy.ansible.com is down.

We encountered situations like this:

  1. Change some ansible playbooks/roles and sync the project in awx
  2. The "Source Control Update" fails in the task "fetch galaxy roles from requirements.(yml/yaml)" (timeout), because galaxy.ansible.com is down
  3. Now it is not possible to run any job templates of this project

How should we deal with this problem?

We enabled Update Revision on Launch in the project to get new playbooks/roles and possibly new roles (requirements.yml) and set the Cache Timeout to 3600.


Michael


Martin Gabriel

unread,
Mar 12, 2022, 12:58:34 PM3/12/22
to AWX Project
Hello,

i used workaround to bypass galaxy API by directly download collections from GIT... We used something like this in requirements `collections/requirements.yml`:

Original:
```
collections:
- openstack.cloud
- community.general
- community.mysql

- community.proxysql
```

Workaround:
```



Dne pátek 11. března 2022 v 15:15:45 UTC+1 uživatel michae...@gmail.com napsal:

Michael Kebe

unread,
Mar 18, 2022, 8:44:51 AM3/18/22
to AWX Project
Thanks for the reply.

We will try.

Too bad, galaxy.ansible.com is partially down right now...

Greetings
Michael

Reply all
Reply to author
Forward
0 new messages