diff options
author | jawed <jawed.khelil@amadeus.com> | 2016-07-20 11:53:57 +0200 |
---|---|---|
committer | jawed <jawed.khelil@amadeus.com> | 2016-08-09 12:03:23 +0200 |
commit | 75df5713bc1b1d3cf454a6975e2ed8eea528a8a3 (patch) | |
tree | 4df2f03759dcfccc4db40161aa2340f7e4e77914 /playbooks/common | |
parent | 9e0e8485638e36f1bacbd8e1c5df134a5a7595f0 (diff) | |
download | openshift-75df5713bc1b1d3cf454a6975e2ed8eea528a8a3.tar.gz openshift-75df5713bc1b1d3cf454a6975e2ed8eea528a8a3.tar.bz2 openshift-75df5713bc1b1d3cf454a6975e2ed8eea528a8a3.tar.xz openshift-75df5713bc1b1d3cf454a6975e2ed8eea528a8a3.zip |
fixing openshift key error in case of node failure during run (ssh issue)
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-node/config.yml | 2 |
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 |