Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
e7729dae
Commit
e7729dae
authored
2 years ago
by
Citrullin
Committed by
Florian Ruynat
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add assertion for IPv6 in verify settings
Co-authored-by:
Kenichi Omichi
<
ken1ohmichi@gmail.com
>
parent
97b4d79e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
+2
-2
2 additions, 2 deletions
roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
with
2 additions
and
2 deletions
roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
+
2
−
2
View file @
e7729dae
...
...
@@ -94,8 +94,8 @@
-
name
:
Stop if ip var does not match local ips
assert
:
that
:
ip in ansible_all_ipv4_addresses
msg
:
"
'{{
ansible_all_ipv4_addresses
}}'
do
not
contain
'{{
ip
}}'"
that
:
(
ip in ansible_all_ipv4_addresses
) or (ip in ansible_all_ipv6_addresses)
msg
:
"
IPv4:
'{{
ansible_all_ipv4_addresses
}}'
and
IPv6:
'{{
ansible_all_ipv6_addresses
}}'
do
not
contain
'{{
ip
}}'"
when
:
-
not ignore_assert_errors
-
ip is defined
...
...
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