summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_facts
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-09-14 13:17:07 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-09-29 10:57:21 -0400
commitb09f52797efe0dd5f4888672935bbf3b501dea37 (patch)
treeb432b55e59d97cea7f018f52af123d77ba5a1aa7 /roles/openshift_node_facts
parent9920ea81d7f036432553921b708cf8c49ac6ea62 (diff)
downloadopenshift-b09f52797efe0dd5f4888672935bbf3b501dea37.tar.gz
openshift-b09f52797efe0dd5f4888672935bbf3b501dea37.tar.bz2
openshift-b09f52797efe0dd5f4888672935bbf3b501dea37.tar.xz
openshift-b09f52797efe0dd5f4888672935bbf3b501dea37.zip
Remove oo_option facts.
Diffstat (limited to 'roles/openshift_node_facts')
-rw-r--r--roles/openshift_node_facts/tasks/main.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/roles/openshift_node_facts/tasks/main.yml b/roles/openshift_node_facts/tasks/main.yml
index fd4c49504..0d5fa664c 100644
--- a/roles/openshift_node_facts/tasks/main.yml
+++ b/roles/openshift_node_facts/tasks/main.yml
@@ -1,10 +1,4 @@
---
-- set_fact:
- openshift_node_debug_level: "{{ lookup('oo_option', 'openshift_node_debug_level') }}"
- when:
- - openshift_node_debug_level is not defined
- - lookup('oo_option', 'openshift_node_debug_level') != ""
-
- name: Set node facts
openshift_facts:
role: "{{ item.role }}"
@@ -20,7 +14,7 @@
debug_level: "{{ openshift_node_debug_level | default(openshift.common.debug_level) }}"
iptables_sync_period: "{{ openshift_node_iptables_sync_period | default(None) }}"
kubelet_args: "{{ openshift_node_kubelet_args | default(None) }}"
- labels: "{{ lookup('oo_option', 'openshift_node_labels') | default( openshift_node_labels | default(none), true) }}"
+ labels: "{{ openshift_node_labels | default(None) }}"
registry_url: "{{ oreg_url_node | default(oreg_url) | default(None) }}"
schedulable: "{{ openshift_schedulable | default(openshift_scheduleable) | default(None) }}"
sdn_mtu: "{{ openshift_node_sdn_mtu | default(None) }}"