Skip to content

Commit f9ff6c7

Browse files
tomashleydarora
authored andcommitted
chore: Set precedence to use ipv4 resolution in gettaddrinfo
1 parent dbbf5c8 commit f9ff6c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ansible/tasks/internal/optimizations.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@
3737
- popularity-contest
3838
- ubuntu-advantage-tools
3939
when: debpkg_mode or stage2_nix
40+
41+
- name: prefer ipv4 connection resolution
42+
become: yes
43+
replace:
44+
path: /etc/gai.conf
45+
regexp: "#precedence ::ffff:0:0/96 100"
46+
replace: "precedence ::ffff:0:0/96 100"

0 commit comments

Comments
 (0)