From dd2ac8e7e8c0101dff3fe7e7fcb4d884274e831e Mon Sep 17 00:00:00 2001 From: jawed Date: Mon, 22 Feb 2016 12:50:55 +0100 Subject: configure debug_level for master and node from cli --- playbooks/common/openshift-node/config.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'playbooks/common/openshift-node') diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml index 56d30e9b9..7edea9160 100644 --- a/playbooks/common/openshift-node/config.yml +++ b/playbooks/common/openshift-node/config.yml @@ -1,6 +1,10 @@ --- - name: Gather and set facts for node hosts hosts: oo_nodes_to_config + pre_tasks: + - set_fact: + openshift_node_debug_level: "{{ lookup('oo_option', 'openshift_node_debug_level') | default(openshift.common.debug_level, true) }}" + when: openshift_node_debug_level is not defined roles: - openshift_facts tasks: -- cgit v1.2.3