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
81317505
Commit
81317505
authored
8 years ago
by
Alexander Block
Browse files
Options
Downloads
Patches
Plain Diff
Set net.ipv4.ip_forward=1 on all systems, not only on GCE
parent
8e809aed
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/main.yml
+2
-3
2 additions, 3 deletions
roles/kubernetes/preinstall/tasks/main.yml
with
2 additions
and
3 deletions
roles/kubernetes/preinstall/tasks/main.yml
+
2
−
3
View file @
81317505
...
...
@@ -81,7 +81,7 @@
when
:
cloud_provider is defined and cloud_provider == 'azure'
tags
:
[
cloud-provider
,
azure
,
facts
]
-
name
:
Fix
ip
v4
forward
rule in GCE security policy
-
name
:
Enable
ip forward
ing
lineinfile
:
dest
:
/etc/sysctl.d/99-sysctl.conf
regexp
:
'
^net.ipv4.ip_forward='
...
...
@@ -90,8 +90,7 @@
create
:
yes
backup
:
yes
validate
:
'
sysctl
-f
%s'
when
:
cloud_provider is defined and cloud_provider == 'gce'
tags
:
[
cloud-provider
,
gce
,
bootstrap-os
]
tags
:
bootstrap-os
-
name
:
Create cni directories
file
:
...
...
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