File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 tasks :
1313 - name : Load AWS disk configuration for R4 instances
1414 ansible.builtin.include_vars : ./vars/aws_r4_hana_storage_profile.yaml
15- when : cloud_platform_is_aws and aws_machine_type
15+ when : cloud_platform_is_aws and aws_machine_type_is_r4
1616
1717 - name : Load AWS disk configuration for Non R4 instances
1818 ansible.builtin.include_vars : ./vars/aws_hana_storage_profile.yaml
19- when : cloud_platform_is_aws and not aws_machine_type
19+ when : cloud_platform_is_aws and not aws_machine_type_is_r4
2020
2121 - name : Load Azure disk configuration
2222 ansible.builtin.include_vars : ./vars/azure_hana_storage_profile.yaml
Original file line number Diff line number Diff line change 44 cloud_platform_is_aws : false
55 cloud_platform_is_gcp : false
66 cloud_platform_is_azure : false
7- aws_machine_type : false
7+ aws_machine_type_is_r4 : false
88
99- name : " Detect AWS"
1010 block :
2929
3030 - name : Set AWS machine type fact
3131 ansible.builtin.set_fact :
32- aws_machine_type : true
32+ aws_machine_type_is_r4 : true
3333 when :
3434 - cloud_platform_name is undefined or cloud_platform_name | length == 0 or cloud_platform_name == "aws"
3535 - probe_aws_1.stdout is match(".*amazon")
Original file line number Diff line number Diff line change 4040
4141- name : Load AWS disk configuration
4242 ansible.builtin.include_vars : ./vars/aws_iscsi_storage_profile.yaml
43- when : cloud_platform_is_aws and not aws_machine_type
43+ when : cloud_platform_is_aws and not aws_machine_type_is_r4
4444
4545- name : Load AWS disk configuration for R4 instance
4646 ansible.builtin.include_vars : ./vars/aws_r4_iscsi_storage_profile.yaml
47- when : cloud_platform_is_aws and aws_machine_type
47+ when : cloud_platform_is_aws and aws_machine_type_is_r4
4848
4949
5050- name : Load Azure disk configuration
You can’t perform that action at this time.
0 commit comments