summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-16 14:59:14 -0400
committerGitHub <noreply@github.com>2016-08-16 14:59:14 -0400
commitf2f81ea3aff7e52716a7fa75b131e008f84cfa90 (patch)
treebe6834cec2f7184222b037dd590f64011a947c55 /playbooks/common
parentbdf12ce1512ec5467cf668b0a7c8553a4dab92d1 (diff)
parent75df5713bc1b1d3cf454a6975e2ed8eea528a8a3 (diff)
downloadopenshift-f2f81ea3aff7e52716a7fa75b131e008f84cfa90.tar.gz
openshift-f2f81ea3aff7e52716a7fa75b131e008f84cfa90.tar.bz2
openshift-f2f81ea3aff7e52716a7fa75b131e008f84cfa90.tar.xz
openshift-f2f81ea3aff7e52716a7fa75b131e008f84cfa90.zip
Merge pull request #2220 from jkhelil/fix_key_error_when_ssh_failing
fixing openshift key error in case of node failure during run (ssh is…
Diffstat (limited to 'playbooks/common')
-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 c56353430..e7c7ffb38 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -43,7 +43,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_containerized | bool and (item in groups.oo_nodes_to_config and item in groups.oo_masters_to_config)
+ 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)
- name: Configure node instances
hosts: oo_containerized_master_nodes