summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/tasks
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2017-02-14 21:39:53 -0500
committerJason DeTiberus <jdetiber@redhat.com>2017-02-14 21:39:53 -0500
commit4e9a9d0e3da2b9b74a7bf69110af42f1f276dffe (patch)
tree72faac6aabf78807763a4a5f733b09bb60fe1087 /roles/openshift_facts/tasks
parent7b33cdfaced1ca374b61b7222d32e8d13511f29a (diff)
downloadopenshift-4e9a9d0e3da2b9b74a7bf69110af42f1f276dffe.tar.gz
openshift-4e9a9d0e3da2b9b74a7bf69110af42f1f276dffe.tar.bz2
openshift-4e9a9d0e3da2b9b74a7bf69110af42f1f276dffe.tar.xz
openshift-4e9a9d0e3da2b9b74a7bf69110af42f1f276dffe.zip
Ansible Lint cleanup and making filter/lookup plugins used by openshift_master_facts available within the role
Diffstat (limited to 'roles/openshift_facts/tasks')
-rw-r--r--roles/openshift_facts/tasks/main.yml6
1 files changed, 4 insertions, 2 deletions
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) }}"