Skip to content

Commit 9fd28b8

Browse files
committed
sap_vm_provision: amend bastion boolean default based on feedback
1 parent daf92c6 commit 9fd28b8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

roles/sap_vm_provision/PLATFORM_GUIDANCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ The subsequent provisioned Virtual Machine, must be accessible too - this can ut
2121

2222
The Ansible Control Node AKA Controller (i.e. device where Ansible Playbook is executed), must be able to SSH to the Ansible Target Node (i.e. Virtual Machine) using:
2323

24+
- DEFAULT: SSH Proxy connection from Ansible control node, via Bastion host, to target node (`sap_vm_provision_bastion_execution: true`); with SSH Private Keys for the host and the bastion (`sap_vm_provision_ssh_host_private_key_file_path: "/path"` and `sap_vm_provision_ssh_bastion_private_key_file_path: "/path"`)
2425
- Direct SSH connection from Ansible control node to target node (`sap_vm_provision_bastion_execution: false`); with SSH Private Key for the host (`sap_vm_provision_ssh_host_private_key_file_path: "/path"`).
25-
- SSH Proxy connection from Ansible control node, via Bastion host, to target node (`sap_vm_provision_bastion_execution: true`); with SSH Private Keys for the host and the bastion (`sap_vm_provision_ssh_host_private_key_file_path: "/path"` and `sap_vm_provision_ssh_bastion_private_key_file_path: "/path"`)
2626

2727

2828
## Required resources when Ansible provisioning VMs

roles/sap_vm_provision/defaults/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ sap_vm_provision_group_anydb_secondary: anydb_secondary
3030
# Only for use when 'ansible' is value provided for variable sap_vm_provision_iac_type
3131
####
3232

33-
sap_vm_provision_bastion_execution: false # for Cloud IaaS, this is usually true
33+
# For security purposes, assume usage of SSH Proxy connection from Ansible control node, via Bastion host to the Target host/s:
34+
# - This is a common pattern for Cloud IaaS, using a Bastion for connectivity
35+
# - When using VPN or in On-Premise/Hosted Datacenters, this can be disabled if there is direct connectivity
36+
sap_vm_provision_bastion_execution: true
3437

3538
sap_vm_provision_bastion_public_ip: ""
3639

0 commit comments

Comments
 (0)