From 4e9a9d0e3da2b9b74a7bf69110af42f1f276dffe Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Tue, 14 Feb 2017 21:39:53 -0500 Subject: Ansible Lint cleanup and making filter/lookup plugins used by openshift_master_facts available within the role --- roles/openshift_facts/tasks/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'roles/openshift_facts') diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml index 11bd68207..7eb879140 100644 --- a/roles/openshift_facts/tasks/main.yml +++ b/roles/openshift_facts/tasks/main.yml @@ -6,9 +6,11 @@ register: ostree_booted # Locally setup containerized facts for now - - set_fact: + - name: Set l_is_atomic + set_fact: l_is_atomic: "{{ ostree_booted.stat.exists }}" - - set_fact: + - name: Set other local variables + set_fact: l_is_containerized: "{{ (l_is_atomic | bool) or (containerized | default(false) | bool) }}" l_is_openvswitch_system_container: "{{ (use_openvswitch_system_container | default(use_system_containers) | bool) }}" l_is_node_system_container: "{{ (use_node_system_container | default(use_system_containers) | bool) }}" -- cgit v1.2.3