copr: prefer IPv4 on copr-fe because of timeouting OpenID login
See https://github.com/fedora-copr/copr/issues/2418#issuecomment-1341394581
This commit is contained in:
parent
495670585f
commit
016572ad54
2 changed files with 10 additions and 0 deletions
5
roles/copr/frontend/files/gai.conf
Normal file
5
roles/copr/frontend/files/gai.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Prefer IPv4 over IPV6
|
||||||
|
# See https://www.youtube.com/watch?v=9qIBUt-VMds
|
||||||
|
# We need this workaround because of
|
||||||
|
# https://github.com/fedora-copr/copr/issues/2418#issuecomment-1341394581
|
||||||
|
precedence ::ffff:0:0/96 100
|
|
@ -224,3 +224,8 @@
|
||||||
vars:
|
vars:
|
||||||
api_key: "{{ copr_uptimerobot_api_key_ro | default('not-configured') }}"
|
api_key: "{{ copr_uptimerobot_api_key_ro | default('not-configured') }}"
|
||||||
tags: copr_cdn
|
tags: copr_cdn
|
||||||
|
|
||||||
|
- name: install gai.conf
|
||||||
|
copy: src=gai.conf dest=/etc
|
||||||
|
notify:
|
||||||
|
- reload httpd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue