Files
fedora-infra_ansible/roles
Ondřej Budai 6ba8b69e3e koji_builder: fix the script for updating osbuildapi
The awk helper responsible for extracting IP addresses from the resolvectl
call could handle only 2 of them.
It turns out that api.openshift.com now has 4 A records, therefore this method
became flakey: It added only 2 addresses to the IP set, so if the osbuild
plugin used one of the 2 ignored addresses, the call failed.

This commit solves it by introducing a different method of parsing the
resolvectl output:

We now use an ugly but working sed command that erases everything from the
line except for the IPv4 address. Therefore, I had to quote the echo before
the new sed command so it can get a proper multiline input. Also, I limited
resolvectl to just use IPv4 because the new script cannot handle IPv6
properly. This doesn't cause any harm because api.openshift.com isn't
actually accessible by IPv6. Sigh...
2022-11-28 15:51:28 +00:00
..
2022-08-03 11:46:46 -07:00
2022-11-22 10:03:02 +00:00
2022-05-19 18:15:47 +00:00
2022-09-20 12:29:27 -07:00
2022-08-09 17:58:51 +02:00
2022-04-03 17:48:42 +00:00
2022-11-18 15:11:38 -05:00
2022-06-17 12:17:38 -04:00
2022-11-25 14:58:36 -08:00
2022-11-23 16:30:58 +01:00
2022-08-09 17:58:51 +02:00
2022-09-19 14:28:17 -07:00
2022-07-18 09:28:01 -07:00
2022-11-10 20:12:26 +01:00
2022-11-15 09:13:40 -08:00

Space for our ansible roles - ansible 1.2 and above only