From eb2d859e87664e3ecfa9fea8d3aed88e9a36b33f Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 17 Jan 2019 15:22:40 -0500 Subject: [PATCH] Use False for zuul_connections_ssh items This is because the openstack.ssh role uses False with when statements, otherwise we get errors with these keys are missing. Change-Id: Iad35362b0c7f5d5862f17a919e23a8e291560c7d Signed-off-by: Paul Belanger --- playbooks/zuul.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/zuul.yaml b/playbooks/zuul.yaml index d925229..3481366 100644 --- a/playbooks/zuul.yaml +++ b/playbooks/zuul.yaml @@ -32,9 +32,9 @@ vars: ssh_key_private_content: "{{ item.ssh_key_private_content }}" ssh_key_private_dest: "{{ item.ssh_key_private_dest }}" - ssh_key_public_content: "{{ item.ssh_key_public_content }}" + ssh_key_public_content: "{{ item.ssh_key_public_content | default(False) }}" ssh_key_public_dest: "{{ item.ssh_key_public_dest }}" - ssh_known_hosts_content: "{{ item.ssh_known_hosts_content | default(omit) }}" + ssh_known_hosts_content: "{{ item.ssh_known_hosts_content | default(False) }}" ssh_user_name: "{{ item.ssh_user_name }}" ssh_user_home: "{{ item.ssh_user_home }}"