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:
- Change some ansible playbooks/roles and sync the project in awx
- The “Source Control Update” fails in the task “fetch galaxy roles from requirements.(yml/yaml)” (timeout), because galaxy.ansible.com is down
- 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
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:
collections:
- name: https://opendev.org/openstack/ansible-collections-openstack
type: git
- name: https://github.com/ansible-collections/community.general
type: git
- name: https://github.com/ansible-collections/community.mysql
type: git
- name: https://github.com/ansible-collections/community.proxysql
type: git
Dne pátek 11. března 2022 v 15:15:45 UTC+1 uživatel michae...@gmail.com napsal:
Thanks for the reply.
We will try.
Too bad, galaxy.ansible.com is partially down right now…
Greetings
Michael