Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
8c343dd7
Commit
8c343dd7
authored
6 years ago
by
Jafar Lie
Browse files
Options
Downloads
Patches
Plain Diff
prefer ipv4
Former-commit-id:
faf2c93c
parent
f3c15548
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/prefer_ipv4/files/gai.conf
+12
-0
12 additions, 0 deletions
roles/prefer_ipv4/files/gai.conf
roles/prefer_ipv4/tasks/main.yml
+10
-0
10 additions, 0 deletions
roles/prefer_ipv4/tasks/main.yml
with
22 additions
and
0 deletions
roles/prefer_ipv4/files/gai.conf
0 → 100644
+
12
−
0
View file @
8c343dd7
#from https://community.rackspace.com/products/f/public-cloud-forum/5110/how-to-prefer-ipv4-over-ipv6-in-ubuntu-and-centos
label
::
1
/
128
0
label
::/
0
1
label
2002
::/
16
2
label
::/
96
3
label
::
ffff
:
0
:
0
/
96
4
precedence
::
1
/
128
50
precedence
::/
0
40
precedence
2002
::/
16
30
precedence
::/
96
20
precedence
::
ffff
:
0
:
0
/
96
100
This diff is collapsed.
Click to expand it.
roles/prefer_ipv4/tasks/main.yml
0 → 100644
+
10
−
0
View file @
8c343dd7
-
name
:
Copy over gai.conf to /etc/
become
:
true
become_user
:
root
copy
:
src
:
gai.conf
dest
:
/etc/gai.conf
owner
:
root
group
:
root
mode
:
0644
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment