90883e76af
* terraform/openstack: Use path.module for ansible_bastion_template.txt This extends on #7643 by not using path.root, but switching to path.module to allow use of the terraform code as a module itself. This change then keeps all calls to the template file stable even for that use-case. * terraform/openstack: Make sed calls fail on errors By using a single call with two replacements to use of sed will create proper exit codes and allowing for errors to be recognized by terraform.
1 line
239 B
Text
1 line
239 B
Text
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 %}'"
|