File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 ansible.builtin.set_fact :
2525 hana_installed : " {{ sid_file_check.state }}"
2626
27- - name : Execute hana install role
27+ - name : Execute hana install role (upstream)
28+ ansible.builtin.include_role :
29+ name : community.sap_install.sap_hana_install
30+ when :
31+ - hana_installed == 'absent'
32+ - enable_community_sap_roles | bool
33+
34+ - name : Execute hana install role (local)
2835 ansible.builtin.include_role :
2936 name : sap_hana_install
30- when : hana_installed == 'absent'
37+ when :
38+ - hana_installed == 'absent'
39+ - not enable_community_sap_roles | bool
3140
3241 - name : Write status file
3342 ansible.builtin.file :
Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ collections:
66 version : 1.5.4
77 - name : community.general
88 version : 9.5.12
9+ - name : community.sap_install
10+ version : 1.7.1
Original file line number Diff line number Diff line change 77 cluster_ip: $ {cluster_ip}
88 aws_stonith_tag: $ {stonith_tag}
99 aws_region: $ {region}
10+ enable_community_sap_roles: $ {enable_community_sap_roles}
1011 children:
1112 hana:
1213 hosts:
Original file line number Diff line number Diff line change 77 subscription_id: $ {subscription_id}
88 tenant_id: $ {tenant_id}
99 cluster_ip: $ {cluster_ip}
10+ enable_community_sap_roles: $ {enable_community_sap_roles}
1011 children:
1112 hana:
1213 hosts:
Original file line number Diff line number Diff line change 88 project: $ {gcp_project}
99 primary_zone: $ {gcp_primary_zone}
1010 secondary_zone: $ {gcp_secondary_zone}
11+ enable_community_sap_roles: $ {enable_community_sap_roles}
1112 children:
1213 hana:
1314 hosts:
You can’t perform that action at this time.
0 commit comments