summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-06-08 01:16:26 -0400
committerGitHub <noreply@github.com>2017-06-08 01:16:26 -0400
commit36620567381da01dff41cc772deb7c2637e6e2d3 (patch)
tree603be4afd28bc06c01fab687f6bc5eff25c74fc4 /playbooks
parentbbddb2589fdab421b8f863d30e31eb42b7719529 (diff)
parent58a69b0c1c69ef37912e2dc846e1734168a6a32a (diff)
downloadopenshift-36620567381da01dff41cc772deb7c2637e6e2d3.tar.gz
openshift-36620567381da01dff41cc772deb7c2637e6e2d3.tar.bz2
openshift-36620567381da01dff41cc772deb7c2637e6e2d3.tar.xz
openshift-36620567381da01dff41cc772deb7c2637e6e2d3.zip
Merge pull request #4384 from admiyo/guard-container
Merged by openshift-bot
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