Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
2a10eabf
Commit
2a10eabf
authored
Jul 23, 2015
by
Vish Kannan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11769 from aveshagarwal/kubernetes-ansible-fixes
Fixes ansible syntax errors
parents
919fded0
e507dbe7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
iptables.yml
contrib/ansible/roles/etcd/tasks/iptables.yml
+1
-1
iptables.yml
contrib/ansible/roles/master/tasks/iptables.yml
+2
-2
iptables.yml
contrib/ansible/roles/node/tasks/iptables.yml
+2
-2
No files found.
contrib/ansible/roles/etcd/tasks/iptables.yml
View file @
2a10eabf
...
...
@@ -9,7 +9,7 @@
-
name
:
Open etcd client port with iptables
command
:
/sbin/iptables -I INPUT 1 -p tcp --dport {{ item }} -j ACCEPT -m comment --comment "etcd"
when
:
etcd not in iptablesrules.stdout
when
:
"
'etcd'
not
in
iptablesrules.stdout"
notify
:
-
Save iptables rules
with_items
:
...
...
contrib/ansible/roles/master/tasks/iptables.yml
View file @
2a10eabf
...
...
@@ -6,10 +6,10 @@
-
name
:
Open apiserver port with iptables
command
:
/sbin/iptables -I INPUT 1 -p tcp --dport 443 -j ACCEPT -m comment --comment "kube-apiserver"
when
:
kube-apiserver not in iptablesrules.stdout
when
:
"
'kube-apiserver'
not
in
iptablesrules.stdout"
notify
:
-
restart iptables
-
name
:
Save iptables rules
command
:
service iptables save
when
:
kube-apiserver not in iptablesrules.stdout
when
:
"
'kube-apiserver'
not
in
iptablesrules.stdout"
contrib/ansible/roles/node/tasks/iptables.yml
View file @
2a10eabf
...
...
@@ -9,10 +9,10 @@
-
name
:
Open kubelet port with iptables
command
:
/sbin/iptables -I INPUT 1 -p tcp --dport 10250 -j ACCEPT -m comment --comment "kubelet"
when
:
kubelet not in iptablesrules.stdout
when
:
"
'kubelet'
not
in
iptablesrules.stdout"
notify
:
-
restart iptables
-
name
:
Save iptables rules
command
:
service iptables save
when
:
kubelet not in iptablesrules.stdout
when
:
"
'kubelet'
not
in
iptablesrules.stdout"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment