Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cu-ipv6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
dsa
cu-ipv6
Commits
3ca8b584
Commit
3ca8b584
authored
1 year ago
by
Adrian Rixon
Browse files
Options
Downloads
Patches
Plain Diff
Add support for ignoring auto-configured IPv6 DNS resolvers
modified: README.md modified: tasks/main.yml
parent
ee878c7c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-0
3 additions, 0 deletions
README.md
tasks/main.yml
+14
-0
14 additions, 0 deletions
tasks/main.yml
with
17 additions
and
0 deletions
README.md
+
3
−
0
View file @
3ca8b584
...
@@ -23,6 +23,9 @@ Role Variables
...
@@ -23,6 +23,9 @@ Role Variables
ipv6_nm_method:
ipv6_nm_method:
Setting for NetworkManager primary connection method6 parameter
Setting for NetworkManager primary connection method6 parameter
(optional, default: undefined)
(optional, default: undefined)
ipv6_dns_ignore:
Whether to ignore the automatically-configured DNS resolvers for
IPv6 (optional, boolean, default: undefined)
Dependencies
Dependencies
------------
------------
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
14
−
0
View file @
3ca8b584
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
when
:
ipv6_nm_method is defined
when
:
ipv6_nm_method is defined
tags
:
tags
:
-
ipv6-config
-
ipv6-config
-
ipv6-config-nm
-
name
:
disable IPv6 method for NM connection
-
name
:
disable IPv6 method for NM connection
community.general.nmcli
:
community.general.nmcli
:
...
@@ -21,6 +22,19 @@
...
@@ -21,6 +22,19 @@
notify
:
restart NetworkManager
notify
:
restart NetworkManager
tags
:
tags
:
-
ipv6-config
-
ipv6-config
-
ipv6-config-nm
-
name
:
disable IPv6 DNS for NM connection
community.general.nmcli
:
type
:
ethernet
conn_name
:
"
{{
conn_name.stdout
}}"
dns6_ignore_auto
:
"
{{
ipv6_dns_ignore
|
bool
}}"
state
:
present
when
:
ipv6_dns_ignore is defined and conn_name.stdout is defined
notify
:
restart NetworkManager
tags
:
-
ipv6-config
-
ipv6-config-nm
-
name
:
remove sysctl entries if not set
-
name
:
remove sysctl entries if not set
sysctl
:
sysctl
:
...
...
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