From c4aec0fbd112fd1c8503e935ac954da268a2fdff Mon Sep 17 00:00:00 2001
From: Rodolfo Carvalho <rhcarvalho@gmail.com>
Date: Thu, 12 Jan 2017 18:30:24 +0100
Subject: Replace custom variables with openshift_facts

Note: on a simple example run of ansible-playbook against a single
docker-based host, I saw the execution time jump from 7s to 17s. That's
unfortunate, but it is probably better to reuse openshift_facts, than to
come up with new variables.
---
 roles/openshift_preflight/masters/tasks/main.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'roles/openshift_preflight/masters')

diff --git a/roles/openshift_preflight/masters/tasks/main.yml b/roles/openshift_preflight/masters/tasks/main.yml
index ed42f69fa..80d7af208 100644
--- a/roles/openshift_preflight/masters/tasks/main.yml
+++ b/roles/openshift_preflight/masters/tasks/main.yml
@@ -1,7 +1,6 @@
 ---
 # determine if yum install of master pkgs will work
-- when:
-    - not containerized
+- when: not openshift.common.is_containerized | bool
   block:
 
     - name: main packages for enterprise
-- 
cgit v1.2.3