summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-09-19 16:36:57 +0200
committerGitHub <noreply@github.com>2017-09-19 16:36:57 +0200
commit288fef2dd2d74baab729d7c8b628a32d337da9bc (patch)
tree558e830cbe3ed0af12e3a576ba3d344194f36bd3 /playbooks
parent040f77745669046c65038250cb0cb0be1562c88d (diff)
downloadopenshift-288fef2dd2d74baab729d7c8b628a32d337da9bc.tar.gz
openshift-288fef2dd2d74baab729d7c8b628a32d337da9bc.tar.bz2
openshift-288fef2dd2d74baab729d7c8b628a32d337da9bc.tar.xz
openshift-288fef2dd2d74baab729d7c8b628a32d337da9bc.zip
Empty ssh (#729)
* Make `openstack_private_ssh_key` optional Before this, the deployer could not reasonably rely on their own SSH configuration or e.g. using the `--private-key` option to ansible-playbook because we always wrote the `ansible_private_key_file` value in the static inventory. This change makes the `openstack_private_ssh_key` variable truly optional: if it's not set, the static inventory will not configure the SSH key and will just rely on the existing configuration. * Update the openstack e2e CI It no longer sets the SSH keys explicitly -- which should just work with the previous commit. * Put back the `openstack_ssh_public_key` in CI This is the option we actually need to keep. This sholud fix the CI failures.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/provisioning/openstack/provision-openstack.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/provisioning/openstack/provision-openstack.yml b/playbooks/provisioning/openstack/provision-openstack.yml
index e4705bd2c..bf424676d 100644
--- a/playbooks/provisioning/openstack/provision-openstack.yml
+++ b/playbooks/provisioning/openstack/provision-openstack.yml
@@ -15,7 +15,7 @@
- role: static_inventory
when: openstack_inventory|default('static') == 'static'
inventory_path: "{{ openstack_inventory_path|default(inventory_dir) }}"
- private_ssh_key: "{{ openstack_private_ssh_key|default('~/.ssh/id_rsa') }}"
+ private_ssh_key: "{{ openstack_private_ssh_key|default('') }}"
ssh_config_path: "{{ openstack_ssh_config_path|default('/tmp/ssh.config.openshift.ansible' + '.' + stack_name) }}"
ssh_user: "{{ ansible_user }}"