summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2017-06-07 07:49:23 -0400
committerAdam Young <ayoung@redhat.com>2017-06-07 07:49:23 -0400
commit58a69b0c1c69ef37912e2dc846e1734168a6a32a (patch)
tree7046114ea51885a3830b682376a784ccec9e7b0a /playbooks
parenta39fc605318d359533c7dba343f557f7005db17d (diff)
downloadopenshift-58a69b0c1c69ef37912e2dc846e1734168a6a32a.tar.gz
openshift-58a69b0c1c69ef37912e2dc846e1734168a6a32a.tar.bz2
openshift-58a69b0c1c69ef37912e2dc846e1734168a6a32a.tar.xz
openshift-58a69b0c1c69ef37912e2dc846e1734168a6a32a.zip
Guard check for container install based on openshift dictionary key
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-node/config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 792ffb4e2..acebabc91 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -32,7 +32,7 @@
ansible_ssh_user: "{{ g_ssh_user | default(omit) }}"
ansible_become: "{{ g_sudo | default(omit) }}"
with_items: "{{ groups.oo_nodes_to_config | default([]) }}"
- when: hostvars[item].openshift.common is defined and hostvars[item].openshift.common.is_containerized | bool and (item in groups.oo_nodes_to_config and item in groups.oo_masters_to_config)
+ when: hostvars[item].openshift is defined and hostvars[item].openshift.common is defined and hostvars[item].openshift.common.is_containerized | bool and (item in groups.oo_nodes_to_config and item in groups.oo_masters_to_config)
changed_when: False
- name: Configure containerized nodes