-
Notifications
You must be signed in to change notification settings - Fork 11
sap_vm_provision/sap_vm_temp_vip: Feat: Add dynamic group handling for provisioning #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Review ongoing... |
|
@marcelmamula Due to the direct relationship of the groups to the |
ja9fuchs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The role of sap_host_type has been clarified.
The change looks good to me, it only replaces hard-coded names with variables.
@ja9fuchs Providing my explanation to keep this in reply as well. now:
|
|
Will not test, trust the team 👍 All the same, for Ansible > Terraform I confirm this change will not impact bottom Terraform level logic, as it is just a passthrough of the data from the upper Ansible level: |
sean-freeman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
Changes
sap_vm_provision_group_*forsap_vm_provisionto customize group namessap_vm_temp_vip_group_*forsap_vm_temp_vipto customize group namesgroup['']conditionals and loops to use new variablesNOTE 1: This does not require any change in AP4S as it adds way to customize provisioning, while retaining previous functionality.
@sean-freeman NOTE 2: Terraform
tf_template_*files were not changed, because their hardcoded groups are commented out and unused. If it was need to use in future, we would need to switch to jinja template to fill in variable input into terraform files instead of direct copy.Test results
All changes were tested with SLES4SAP 15 SP6 on following platforms:
Tested scenarios: