@@ -195,8 +195,6 @@ export ANSIBLE_PRIVATE_KEY_FILE=sshkey
195
195
export ANSIBLE_COLLECTIONS_PATHS=/opt/ansible/collections${ANSIBLE_COLLECTIONS_PATHS: +${ANSIBLE_COLLECTIONS_PATHS} }
196
196
export ANSIBLE_REMOTE_USER=azureadm
197
197
198
- # Ref: https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html
199
- # Silence warnings about Python interpreter discovery
200
198
export ANSIBLE_PYTHON_INTERPRETER=auto_silent
201
199
202
200
# Set of options that will be passed to the ansible-playbook command
@@ -209,8 +207,6 @@ playbook_options=(
209
207
" ${@ } "
210
208
)
211
209
212
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
213
-
214
210
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_01_os_base_config.yaml
215
211
216
212
@@ -289,12 +285,6 @@ cd ${HOME}/Azure_SAP_Automated_Deployment/WORKSPACES/SYSTEM/LAB-SECE-SAP04-L00/
289
285
export sap_sid=L00
290
286
export workload_vault_name=" LABSECESAP04user###"
291
287
export ANSIBLE_PRIVATE_KEY_FILE=sshkey
292
- prefix=" LAB-SECE-SAP04"
293
-
294
- password_secret_name=$prefix -sid-password
295
-
296
- password_secret=$( az keyvault secret show --vault-name ${workload_vault_name} --name ${password_secret_name} --query value --output table)
297
- export ANSIBLE_PASSWORD=$password_secret
298
288
299
289
playbook_options=(
300
290
--inventory-file=" ${sap_sid} _hosts.yaml"
@@ -305,9 +295,6 @@ playbook_options=(
305
295
" ${@ } "
306
296
)
307
297
308
- # Run the playbook to retrieve the ssh key from the Azure key vault
309
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
310
-
311
298
# Run the playbook to perform the Operating System configuration
312
299
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_01_os_base_config.yaml
313
300
@@ -389,9 +376,6 @@ playbook_options=(
389
376
" ${@ } "
390
377
)
391
378
392
- # Run the playbook to retrieve the ssh key from the Azure key vault
393
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
394
-
395
379
# Run the playbook to perform the SAP Specific Operating System configuration
396
380
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_02_os_sap_specific_config.yaml
397
381
@@ -469,9 +453,6 @@ playbook_options=(
469
453
" ${@ } "
470
454
)
471
455
472
- # Run the playbook to retrieve the ssh key from the Azure key vault
473
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
474
-
475
456
# Run the playbook to download the software from the SAP Library
476
457
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_03_bom_processing.yaml
477
458
@@ -550,9 +531,6 @@ playbook_options=(
550
531
" ${@ } "
551
532
)
552
533
553
- # Run the playbook to retrieve the ssh key from the Azure key vault
554
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
555
-
556
534
# Run the playbook to download the software from the SAP Library
557
535
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_05_00_00_sap_scs_install.yaml
558
536
@@ -630,9 +608,6 @@ playbook_options=(
630
608
" ${@ } "
631
609
)
632
610
633
- # Run the playbook to retrieve the ssh key from the Azure key vault
634
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
635
-
636
611
# Run the playbook to download the software from the SAP Library
637
612
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_04_00_00_db_install.yaml
638
613
@@ -710,9 +685,6 @@ playbook_options=(
710
685
" ${@ } "
711
686
)
712
687
713
- # Run the playbook to retrieve the ssh key from the Azure key vault
714
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
715
-
716
688
# Run the playbook to download the software from the SAP Library
717
689
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_05_01_sap_dbload.yaml
718
690
@@ -794,9 +766,6 @@ playbook_options=(
794
766
" ${@ } "
795
767
)
796
768
797
- # Run the playbook to retrieve the ssh key from the Azure key vault
798
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
799
-
800
769
# Run the playbook to download the software from the SAP Library
801
770
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_04_00_01_db_ha.yaml
802
771
@@ -810,7 +779,7 @@ ansible-playbook "${playbook_options[@]}" ~/Azure_SAP_Automated_Deployment/sap-a
810
779
This playbook performs the installation of the primary application server.
811
780
812
781
You can either run the playbook using:
813
- - the DevOps Pipeline 'Configuration and SAP installation' choosing 'PAS Installation.'
782
+ - the DevOps Pipeline 'Configuration and SAP installation' choosing 'Primary Application Server Installation.'
814
783
- the configuration menu script 'configuration_menu.sh.'
815
784
- directly from the command line.
816
785
@@ -875,9 +844,6 @@ playbook_options=(
875
844
" ${@ } "
876
845
)
877
846
878
- # Run the playbook to retrieve the ssh key from the Azure key vault
879
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
880
-
881
847
# Run the playbook to download the software from the SAP Library
882
848
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_05_02_sap_pas_install.yaml
883
849
@@ -891,7 +857,7 @@ ansible-playbook "${playbook_options[@]}" ~/Azure_SAP_Automated_Deployment/sap-a
891
857
This playbook performs the installation of the application servers.
892
858
893
859
You can either run the playbook using:
894
- - the DevOps Pipeline 'Configuration and SAP installation' choosing 'APP Installation.'
860
+ - the DevOps Pipeline 'Configuration and SAP installation' choosing 'Application Server Installation.'
895
861
- the configuration menu script 'configuration_menu.sh.'
896
862
- directly from the command line.
897
863
@@ -931,7 +897,7 @@ ansible-playbook "${playbook_options[@]}" ~/Azure_SAP_Automated_Deployment/sap-a
931
897
932
898
The playbook performs the following tasks:
933
899
934
- - Primary Application Server Installation.
900
+ - Application Server Installation.
935
901
936
902
``` bash
937
903
@@ -956,9 +922,6 @@ playbook_options=(
956
922
" ${@ } "
957
923
)
958
924
959
- # Run the playbook to retrieve the ssh key from the Azure key vault
960
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
961
-
962
925
# Run the playbook to download the software from the SAP Library
963
926
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_05_02_sap_app_install.yaml
964
927
@@ -971,7 +934,7 @@ ansible-playbook "${playbook_options[@]}" ~/Azure_SAP_Automated_Deployment/sap-a
971
934
This playbook performs the installation of the Web Dispatchers.
972
935
973
936
You can either run the playbook using:
974
- - the DevOps Pipeline 'Configuration and SAP installation' choosing 'WebDispatcher Installation.'
937
+ - the DevOps Pipeline 'Configuration and SAP installation' choosing 'Web Dispatcher Installation.'
975
938
- the configuration menu script 'configuration_menu.sh.'
976
939
- directly from the command line.
977
940
@@ -1011,7 +974,7 @@ ansible-playbook "${playbook_options[@]}" ~/Azure_SAP_Automated_Deployment/sap-a
1011
974
1012
975
The playbook performs the following tasks:
1013
976
1014
- - Primary Application Server Installation.
977
+ - Web Dispatcher Installation.
1015
978
1016
979
``` bash
1017
980
@@ -1036,11 +999,86 @@ playbook_options=(
1036
999
" ${@ } "
1037
1000
)
1038
1001
1002
+
1003
+ # Run the playbook to download the software from the SAP Library
1004
+ ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_05_04_sap_web_install.yaml
1005
+
1006
+ ```
1007
+
1008
+ ---
1009
+
1010
+ ## ACSS Registration
1011
+
1012
+ This playbook performs the ACSS registration.
1013
+
1014
+ You can either run the playbook using:
1015
+ - the DevOps Pipeline 'Configuration and SAP installation' choosing 'Register System in ACSS.'
1016
+ - the configuration menu script 'configuration_menu.sh.'
1017
+ - directly from the command line.
1018
+
1019
+
1020
+ # [ Linux] ( #tab/linux )
1021
+
1022
+ The playbook performs the following tasks:
1023
+
1024
+ - ACSS registration.
1025
+
1026
+ ``` bash
1027
+
1028
+ cd ${HOME} /Azure_SAP_Automated_Deployment/WORKSPACES/SYSTEM/LAB-SECE-SAP04-L00/
1029
+
1030
+ export sap_sid=L00
1031
+ export ANSIBLE_PRIVATE_KEY_FILE=sshkey
1032
+
1033
+ playbook_options=(
1034
+ --inventory-file=" ${sap_sid} _hosts.yaml"
1035
+ --private-key=${ANSIBLE_PRIVATE_KEY_FILE}
1036
+ --extra-vars=" _workspace_directory=` pwd` "
1037
+ --extra-vars ansible_ssh_pass=' {{ lookup("env", "ANSIBLE_PASSWORD") }}'
1038
+ --extra-vars=" @sap-parameters.yaml"
1039
+ " ${@ } "
1040
+ )
1041
+
1039
1042
# Run the playbook to retrieve the ssh key from the Azure key vault
1040
1043
ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/pb_get-sshkey.yaml
1041
1044
1042
1045
# Run the playbook to download the software from the SAP Library
1043
- ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_05_04_sap_web_install.yaml
1046
+ ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_06_00_acss_registration.yaml
1047
+
1048
+ ```
1049
+
1050
+
1051
+ # [ Windows] ( #tab/windows )
1052
+
1053
+ The playbook performs the following tasks:
1054
+
1055
+ - ACSS registration.
1056
+
1057
+ ``` bash
1058
+
1059
+ cd ${HOME} /Azure_SAP_Automated_Deployment/WORKSPACES/SYSTEM/LAB-SECE-SAP04-L00/
1060
+
1061
+ export sap_sid=L00
1062
+ export workload_vault_name=" LABSECESAP04user###"
1063
+ export ANSIBLE_PRIVATE_KEY_FILE=sshkey
1064
+ prefix=" LAB-SECE-SAP04"
1065
+
1066
+ password_secret_name=$prefix -sid-password
1067
+
1068
+ password_secret=$( az keyvault secret show --vault-name ${workload_vault_name} --name ${password_secret_name} --query value --output table)
1069
+ export ANSIBLE_PASSWORD=$password_secret
1070
+
1071
+ playbook_options=(
1072
+ --inventory-file=" ${sap_sid} _hosts.yaml"
1073
+ --private-key=${ANSIBLE_PRIVATE_KEY_FILE}
1074
+ --extra-vars=" _workspace_directory=` pwd` "
1075
+ --extra-vars ansible_ssh_pass=' {{ lookup("env", "ANSIBLE_PASSWORD") }}'
1076
+ --extra-vars=" @sap-parameters.yaml"
1077
+ " ${@ } "
1078
+ )
1079
+
1080
+ # Run the playbook to download the software from the SAP Library
1081
+ ansible-playbook " ${playbook_options[@]} " ~ /Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/playbook_06_00_acss_registration.yaml
1044
1082
1045
1083
```
1046
1084
0 commit comments