Browse Source

Merge pull request #2569 from avoidik/allow-ssh-key-openstack

Allow ansible_ssh_private_key_file for Openstack
pull/2571/head
Andreas Krüger 6 years ago
committed by GitHub
parent
commit
c1a2e9a8c6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      contrib/terraform/openstack/ansible_bastion_template.txt

2
contrib/terraform/openstack/ansible_bastion_template.txt

@ -1 +1 @@
ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -W %h:%p -q USER@BASTION_ADDRESS"'
ansible_ssh_common_args: "-o ProxyCommand='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p -q USER@BASTION_ADDRESS {% if ansible_ssh_private_key_file is defined %}-i {{ ansible_ssh_private_key_file }}{% endif %}'"
Loading…
Cancel
Save