summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-06 17:38:19 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-03-06 17:44:55 -0500
commit71074dce4fde6d77384376dcf15c98b8316871f6 (patch)
tree285b31cf78950185af56c9afa25e6ef52370cc3a /roles/openshift_node
parent77008d93e094ab284d869c4bb61dbb06941fa84f (diff)
downloadopenshift-71074dce4fde6d77384376dcf15c98b8316871f6.tar.gz
openshift-71074dce4fde6d77384376dcf15c98b8316871f6.tar.bz2
openshift-71074dce4fde6d77384376dcf15c98b8316871f6.tar.xz
openshift-71074dce4fde6d77384376dcf15c98b8316871f6.zip
start fixing os_firewall issues
- Fix missed references to old firewall scripts - Fix variable name references that didn't get updated
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/defaults/main.yml3
-rw-r--r--roles/openshift_node/tasks/main.yml5
2 files changed, 3 insertions, 5 deletions
diff --git a/roles/openshift_node/defaults/main.yml b/roles/openshift_node/defaults/main.yml
index ae05a4479..6dc73a96e 100644
--- a/roles/openshift_node/defaults/main.yml
+++ b/roles/openshift_node/defaults/main.yml
@@ -1,3 +1,6 @@
---
openshift_node_manage_service_externally: false
openshift_node_debug_level: "{{ openshift_debug_level | default(0) }}"
+os_firewall_allow:
+- service: OpenShift kubelet
+ port: 10250/tcp
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 56858dbc3..f52827b8e 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -17,11 +17,6 @@
- local_action: file name={{ mktemp.stdout }} state=absent
-- name: Configure firewall for OpenShift Node
- include: "{{ role_path | dirname }}/openshift_common/tasks/firewall.yml"
- allow:
- - { service: OpenShift kubelet, port: 10250/tcp }
-
- name: Configure OpenShift Node settings
lineinfile:
dest: /etc/sysconfig/openshift-node