Skip to content

Commit 4f0f887

Browse files
authored
Update get-sap-installation-media.md
1 parent 881e030 commit 4f0f887

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

articles/sap/center-sap-solutions/get-sap-installation-media.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,11 @@ Next, set up a virtual machine (VM) where you will download the SAP components l
139139
1. Install Ansible galaxy collection modules
140140
141141
```Bash
142-
ansible-galaxy collection install ansible.netcommon:==5.0.0 -p /opt/ansible/collections
143-
ansible-galaxy collection install ansible.posix:==1.5.1 -p /opt/ansible/collections
144-
ansible-galaxy collection install ansible.utils:==2.9.0 -p /opt/ansible/collections
145-
ansible-galaxy collection install ansible.windows:==1.13.0 -p /opt/ansible/collections
146-
ansible-galaxy collection install community.general:==6.4.0 -p /opt/ansible/collections
142+
sudo ansible-galaxy collection install ansible.netcommon:==5.0.0 -p /opt/ansible/collections
143+
sudo ansible-galaxy collection install ansible.posix:==1.5.1 -p /opt/ansible/collections
144+
sudo ansible-galaxy collection install ansible.utils:==2.9.0 -p /opt/ansible/collections
145+
sudo ansible-galaxy collection install ansible.windows:==1.13.0 -p /opt/ansible/collections
146+
sudo ansible-galaxy collection install community.general:==6.4.0 -p /opt/ansible/collections
147147
```
148148
149149
1. Clone the SAP automation samples repository from GitHub.
@@ -158,6 +158,12 @@ Next, set up a virtual machine (VM) where you will download the SAP components l
158158
git clone https://github.com/Azure/sap-automation.git
159159
```
160160
161+
1. Switch to sap-automation directory
162+
163+
```git bash
164+
cd sap-automation/
165+
```
166+
161167
1. Change the branch to `main`.
162168
163169
```git bash
@@ -175,20 +181,21 @@ Next, set up a virtual machine (VM) where you will download the SAP components l
175181
176182
Next, download the SAP installation media to the VM using a script.
177183
178-
1. Run the Ansible script **playbook_bom_download** with your own information. Enter the actual values within double quotes but without the triangular brackets
184+
1. Run the Ansible script **playbook_bom_download** with your own information.
179185
180-
The Ansible command that you run should look like:
186+
Enter the actual values **within** double quotes but **without** the triangular brackets. The Ansible command that you run should look like:
181187
182-
```Bash
188+
183189
export bom_base_name="<Enter bom base name>"
184190
export s_user="<s-user>"
185191
export s_password="<password>"
186192
export storage_account_access_key="<storageAccountAccessKey>"
187193
export sapbits_location_base_path="<containerBasePath>"
188194
export BOM_directory="<BOM_directory_path>"
189195
export orchestration_ansible_user="<orchestration_ansible_user>"
196+
export playbook_path="<playbook_bom_downloader_yaml_path>"
190197
191-
ansible-playbook /home/demouser/sap-automation/deploy/ansible/playbook_bom_downloader.yaml \
198+
ansible-playbook ${playbook_bom_downloader_yaml_path} \
192199
-e "bom_base_name=${bom_base_name}" \
193200
-e "deployer_kv_name=dummy_value" \
194201
-e "s_user=${s_user}" \
@@ -197,10 +204,13 @@ Next, download the SAP installation media to the VM using a script.
197204
-e "sapbits_location_base_path=${sapbits_location_base_path}" \
198205
-e "BOM_directory=${BOM_directory}" \
199206
-e "orchestration_ansible_user=${orchestration_ansible_user}"
200-
```
207+
201208
202-
1. When asked if you have a storage account, enter `Y`.
209+
210+
1. If prompted that if *you have a storage account*, enter `Y`.
203211
212+
1. Where `playbook_bom_downloader_yaml_path` is the absolute path to sap-automation/deploy/ansible/playbook_bom_downloader.yaml
213+
204214
1. For `<bom_base_name>`, use the SAP Version you want to install i.e. **_S41909SPS03_v0011ms_** or **_S42020SPS03_v0003ms_** or **_S4HANA_2021_ISS_v0001ms_**
205215
206216
1. For `<s_user>`, use your SAP username.

0 commit comments

Comments
 (0)