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
a98b866a
Commit
a98b866a
authored
7 years ago
by
Yuki KIRII
Committed by
Matthew Mosesohn
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Verify if br_netfilter module exists (#1492)
parent
3aabba75
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/network_plugin/weave/tasks/main.yml
+8
-1
8 additions, 1 deletion
roles/network_plugin/weave/tasks/main.yml
with
8 additions
and
1 deletion
roles/network_plugin/weave/tasks/main.yml
+
8
−
1
View file @
a98b866a
...
@@ -4,10 +4,17 @@
...
@@ -4,10 +4,17 @@
-
include
:
seed.yml
-
include
:
seed.yml
when
:
weave_mode_seed
when
:
weave_mode_seed
-
name
:
Weave | enable br_netfilter module
-
name
:
Weave | Verify if br_netfilter module exists
shell
:
"
modinfo
br_netfilter"
register
:
modinfo_br_netfilter
failed_when
:
modinfo_br_netfilter.rc not in [0, 1]
changed_when
:
false
-
name
:
Weave | Enable br_netfilter module
modprobe
:
modprobe
:
name
:
br_netfilter
name
:
br_netfilter
state
:
present
state
:
present
when
:
modinfo_br_netfilter.rc ==
0
-
name
:
Weave | Copy cni plugins from hyperkube
-
name
:
Weave | Copy cni plugins from hyperkube
command
:
"
{{
docker_bin_dir
}}/docker
run
--rm
-v
/opt/cni/bin:/cnibindir
{{
hyperkube_image_repo
}}:{{
hyperkube_image_tag
}}
/bin/cp
-r
/opt/cni/bin/.
/cnibindir/"
command
:
"
{{
docker_bin_dir
}}/docker
run
--rm
-v
/opt/cni/bin:/cnibindir
{{
hyperkube_image_repo
}}:{{
hyperkube_image_tag
}}
/bin/cp
-r
/opt/cni/bin/.
/cnibindir/"
...
...
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