Skip to content

Commit 829116c

Browse files
authored
Merge pull request sap-linuxlab#1148 from marcelmamula/readme-galaxy
collection: Update readme formatting to align with galaxy format
2 parents 09fb506 + e6f5d07 commit 829116c

14 files changed

Lines changed: 272 additions & 202 deletions

File tree

README.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
This Ansible Collection executes various SAP Software installations and configuration tasks for various SAP solutions and deployment scenarios on supported Linux operating systems.
88

99
Included roles cover range of tasks:
10+
1011
- Preparation of Operating system and SAP installation media before installation
1112
- Installation of SAP Database, either SAP HANA or Oracle Database
1213
- Installation of SAP Products, like SAP S4HANA, SAP BW4HANA, SAP Netweaver, SAP Solution Manager and others.
@@ -15,28 +16,20 @@ Included roles cover range of tasks:
1516

1617
## Requirements
1718

18-
### Control Nodes
19-
Operating system:
20-
- Any operating system with required Python and Ansible versions.
21-
22-
Python: 3.11 or higher
23-
24-
Ansible: 9.9.x
25-
26-
Ansible-core: 2.16.x
27-
28-
**NOTE: Ansible 10 and ansible-core 2.17.x are not supported, because of breaking changes requiring higher Python version on managed nodes.**
29-
30-
### Managed Nodes
31-
Operating system:
32-
- SUSE Linux Enterprise Server for SAP applications 15 SP5+ (SLE4SAP)
33-
- Red Hat Enterprise Linux for SAP Solutions 8.x 9.x (RHEL4SAP)
19+
| Component | Control Node | Managed Node |
20+
| --- | --- | --- |
21+
| Operating System | Any OS | Red Hat Enterprise Linux for SAP Solutions 8.x, 9.x and 10.x<br>SUSE Linux Enterprise Server for SAP applications 15 SP5, 15 SP6, 15 SP7 and 16.0 |
22+
| Python | 3.11 or higher | 3.9 or higher |
23+
| Ansible-Core | 2.18 or higher | N/A |
24+
| Ansible | 12 or higher | N/A |
3425

35-
**NOTE: Operating system needs to have access to required package repositories either directly or via subscription registration.**
26+
> **Managed Node Registration**<br>
27+
> Operating system needs to have access to required package repositories either directly or via subscription registration.
3628
29+
**Additional notes:**
3730

38-
Python: 3.6 or higher
39-
31+
- **Version Compatibility:** For a detailed mapping of supported Python versions and Ansible-Core lifecycles, refer to the official [Ansible-Core Support Matrix](https://docs.ansible.com/projects/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix).
32+
- **Control Node Permissions:** Ensure the user executing the playbooks has the necessary SSH keys and sudo privileges configured for the target environment.
4033

4134
## Installation Instructions
4235

@@ -73,6 +66,7 @@ See [Installing collections](https://docs.ansible.com/ansible/latest/collections
7366
## Use Cases
7467

7568
### Example Scenarios
69+
7670
- Preparation of Operating system for SAP installation
7771
- Preparation of SAP installation media for SAP installation
7872
- Installation of SAP HANA (including High Availability with replication) or Oracle Database
@@ -85,7 +79,7 @@ More deployment scenarios are available in [ansible.playbooks_for_sap](https://g
8579
All included roles can be executed independently or as part of [ansible.playbooks_for_sap](https://github.com/sap-linuxlab/ansible.playbooks_for_sap) playbooks.
8680

8781
| Name | Summary |
88-
| :--- | :--- |
82+
| --- | --- |
8983
| [sap_anydb_install_oracle](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_anydb_install_oracle) | Install Oracle DB 19.x for SAP |
9084
| [sap_general_preconfigure](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_general_preconfigure) | Configure general OS settings for SAP software |
9185
| [sap_ha_install_hana_hsr](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_ha_install_hana_hsr) | Configure and enable SAP HANA System Replication |
@@ -104,20 +98,25 @@ All included roles can be executed independently or as part of [ansible.playbook
10498
This Ansible Collection was tested across different Operating Systems, SAP products and scenarios. You can find examples of some of them below.
10599

106100
Operating systems:
107-
- SUSE Linux Enterprise Server for SAP applications 15 SP5+ (SLE4SAP)
108-
- Red Hat Enterprise Linux for SAP Solutions 8.x 9.x (RHEL4SAP)
101+
102+
- Red Hat Enterprise Linux for SAP Solutions 8.x, 9.x and 10.x
103+
- SUSE Linux Enterprise Server for SAP applications 15 SP5, 15 SP6, 15 SP7 and 16.0
109104

110105
Deployment scenarios:
106+
111107
- All scenarios included in [ansible.playbooks_for_sap](https://github.com/sap-linuxlab/ansible.playbooks_for_sap) repository
112108

113109
SAP Products:
110+
114111
- SAP S/4HANA AnyPremise (1809, 1909, 2020, 2021, 2022, 2023) with setup as Standard, Distributed, High Availability and optional Maintenance Planner or Restore System Copy
115112
- SAP Business Suite (ECC) on HANA and SAP Business Suite (ECC) with SAP AnyDB - SAP ASE, SAP MaxDB, IBM Db2, Oracle DB
116113
- SAP BW/4HANA (2021, 2023) with setup as Standard or Scale-Out
117114
- SAP HANA 2.0 (SPS04+) with setup as Scale-Up, Scale-Out, High Availability
118115
- Other SAP installation activities; such as System Rename, System Copy Export, SAP Solution Manager and SAP Web Dispatcher
119116

120-
**NOTE: It is not possible to test every Operating System and SAP Product combination with every release. Testing is regularly done for common scenarios: SAP HANA, SAP HANA HA, SAP S4HANA Distributed HA**
117+
> **Testing Disclaimer**<br>
118+
> It is not possible to test every Operating System and SAP Product combination with every release.<br>
119+
> Testing is regularly done for common scenarios: SAP HANA, SAP HANA HA, SAP S4HANA Distributed HA**
121120
122121

123122
## Contributing

docs/getting_started/secure-your-passwords.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Use ansible-vault to encrypt the string, which it reads from the file. Adding th
2929
ansible-vault encrypt_string $(cat passfile) -n my_secret_var
3030
```
3131

32-
Ansible-vault will ask to enter a vault password, which is required to decrypt the value during ansible runtime afterwards.
32+
Ansible-vault will ask to enter a vault password, which is required to decrypt the value during ansible runtime afterwards.<br>
3333
Consider this the "master key" for your vault-encrypted credentials.
3434

3535
```text
@@ -45,7 +45,7 @@ my_secret_var: !vault |
4545
Encryption successful
4646
```
4747

48-
Save the `my_secret_var` and encrypted multi-line value in your variable definitions and include the definition file as usual.
48+
Save the `my_secret_var` and encrypted multi-line value in your variable definitions and include the definition file as usual.<br>
4949
The variable can as well be referenced and used by other variables for more flexibility.
5050

5151
```yaml
@@ -62,7 +62,7 @@ rm passfile
6262

6363
## Run playbook which uses vault-encrypted content
6464

65-
As soon as a vault-encrypted value is present in your playbook, ansible will require the vault password to be entered for playbook execution.
65+
As soon as a vault-encrypted value is present in your playbook, ansible will require the vault password to be entered for playbook execution.<br>
6666
Add `--ask-vault` to your `ansible-playbook` command to prompt for this "master key" password and allow secure decryption.
6767

6868
```bash
@@ -75,7 +75,7 @@ _When encrypting multiple values that will be used together, you have to make su
7575

7676
You can also encrypt an entire file, e.g. containing multiple secrets.
7777

78-
However, if variables are defined in the file it will encrypt the variable names as well and makes it harder to identify the source definition of a referenced variable.
78+
However, if variables are defined in the file it will encrypt the variable names as well and makes it harder to identify the source definition of a referenced variable.<br>
7979
Also, encrypting the entire file will require ansible-vault commands to view or edit the contents of the file. A file containing individually encrypted values can be viewed and edited as any other file without uncovering the actual secret value.
8080

8181
`ansible-vault` will prompt for the vault password - either to be created for a new encrypted file, or to be used for decrypting existing content (for view or edit operations).
@@ -87,7 +87,7 @@ ansible-vault view file_containing_secrets.yml
8787
ansible-vault edit file_containing_secrets.yml
8888
```
8989

90-
This file can be included into a playbook similar to any other file include.
90+
This file can be included into a playbook similar to any other file include.<br>
9191
The playbook will only be usable when the correct vault password is provided to `ansible-playbook` for the runtime, see above.
9292

9393
## More features and information

roles/sap_anydb_install_oracle/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The Ansible role `sap_anydb_install_oracle` is used to install Oracle Database 1
1313
<!-- BEGIN Prerequisites -->
1414
## Prerequisites
1515
Managed Nodes:
16+
1617
- Directory with installation media is present and `sap_anydb_install_oracle_extract_path` updated.</br>
1718
Download can be completed using [community.sap_launchpad](https://github.com/sap-linuxlab/community.sap_launchpad) Ansible Collection.
1819
<!-- END Prerequisites -->

roles/sap_general_preconfigure/README.md

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Install required collections by `ansible-galaxy collection install -vv -r meta/c
2626
## Prerequisites
2727

2828
(Red Hat specific) Ensure system is installed according to:
29+
2930
- RHEL 8: SAP note 2772999, Red Hat Enterprise Linux 8.x: Installation and Configuration, section `Installing Red Hat Enterprise Linux 8`.
3031
- RHEL 9: SAP note 3108316, Red Hat Enterprise Linux 9.x: Installation and Configuration, section `Installing Red Hat Enterprise Linux 9`.
3132

@@ -64,52 +65,52 @@ Further referenced as `example.yml`
6465

6566
<!-- BEGIN Role Tags -->
6667
### Role Tags
68+
6769
With the following tags, the role can be called to perform certain activities only:
70+
6871
- tag `sap_general_preconfigure_installation`: Perform only the installation tasks
6972
- tag `sap_general_preconfigure_configuration`: Perform only the configuration tasks
7073
- tag `sap_general_preconfigure_3108316`: Perform only the tasks(s) related to this SAP note.
7174
- tag `sap_general_preconfigure_2772999_03`: Perform only the tasks(s) related to step 3 of the SAP note.
7275
- tag `sap_general_preconfigure_etc_hosts`: Perform only the tasks(s) related to this step. This step might be one of multiple
7376
configuration activities of a SAP note. Also this step might be valid for multiple RHEL major releases.
7477

75-
<details>
76-
<summary><b>How to run sap_general_preconfigure with tags</b></summary>
77-
78-
#### Perform only installation tasks:
79-
```console
80-
ansible-playbook sap.yml --tags=sap_general_preconfigure_installation
81-
```
82-
83-
#### Perform only configuration tasks:
84-
```console
85-
ansible-playbook sap.yml --tags=sap_general_preconfigure_configuration
86-
```
87-
88-
#### Verify and modify /etc/hosts file:
89-
```console
90-
ansible-playbook sap.yml --tags=sap_general_preconfigure_etc_hosts
91-
```
92-
93-
#### Perform all configuration steps except verifying and modifying the /etc/hosts file
94-
```
95-
ansible-playbook sap.yml --tags=sap_general_preconfigure_configuration --skip_tags=sap_general_preconfigure_etc_hosts
96-
```
97-
98-
#### (Red Hat) Perform configuration activities related to SAP note 3108316 (RHEL 9)
99-
```
100-
ansible-playbook sap.yml --tags=sap_general_preconfigure_3108316
101-
```
102-
103-
#### (Red Hat) Perform configuration activities related to step 2 (SELinux settings) of SAP note 3108316 (RHEL 9)
104-
```
105-
ansible-playbook sap.yml --tags=sap_general_preconfigure_3108316_02
106-
```
107-
108-
#### (Red Hat) Perform all configuration activities except those related to step 2 (SELinux settings) of SAP note 3108316 (RHEL 9 specific)
109-
```
110-
ansible-playbook sap-general-preconfigure.yml --tags=sap_general_preconfigure_configuration --skip_tags=sap_general_preconfigure_3108316_02
111-
```
112-
</details>
78+
#### How to run sap_general_preconfigure with tags
79+
80+
Perform only installation tasks:
81+
```console
82+
ansible-playbook sap.yml --tags=sap_general_preconfigure_installation
83+
```
84+
85+
Perform only configuration tasks:
86+
```console
87+
ansible-playbook sap.yml --tags=sap_general_preconfigure_configuration
88+
```
89+
90+
Verify and modify /etc/hosts file:
91+
```console
92+
ansible-playbook sap.yml --tags=sap_general_preconfigure_etc_hosts
93+
```
94+
95+
Perform all configuration steps except verifying and modifying the /etc/hosts file
96+
```
97+
ansible-playbook sap.yml --tags=sap_general_preconfigure_configuration --skip_tags=sap_general_preconfigure_etc_hosts
98+
```
99+
100+
(Red Hat) Perform configuration activities related to SAP note 3108316 (RHEL 9)
101+
```
102+
ansible-playbook sap.yml --tags=sap_general_preconfigure_3108316
103+
```
104+
105+
(Red Hat) Perform configuration activities related to step 2 (SELinux settings) of SAP note 3108316 (RHEL 9)
106+
```
107+
ansible-playbook sap.yml --tags=sap_general_preconfigure_3108316_02
108+
```
109+
110+
(Red Hat) Perform all configuration activities except those related to step 2 (SELinux settings) of SAP note 3108316 (RHEL 9 specific)
111+
```
112+
ansible-playbook sap-general-preconfigure.yml --tags=sap_general_preconfigure_configuration --skip_tags=sap_general_preconfigure_3108316_02
113+
```
113114
<!-- END Role Tags -->
114115
115116
<!-- BEGIN Further Information -->

roles/sap_ha_install_anydb_ibmdb2/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
The Ansible Role for instantiation of IBM Db2 'Integrated Linux Pacemaker' HADR cluster.
99

1010
**NOTE:** IBM Db2 with 'Integrated Linux Pacemaker' can use two deployment models:
11+
1112
- Mutual Failover option, **not** covered by this Ansible Role
1213
- High Availability and Disaster Recovery (HADR) option for Idle Standby, initialized by this Ansible Role
1314
<!-- END Description -->
@@ -17,10 +18,13 @@ The Ansible Role for instantiation of IBM Db2 'Integrated Linux Pacemaker' HADR
1718

1819
<!-- BEGIN Prerequisites -->
1920
## Prerequisites
21+
2022
Managed nodes:
23+
2124
- Directory with installation media is present and `sap_ha_install_anydb_ibmdb2_software_directory` updated. Download can be completed using [community.sap_launchpad](https://github.com/sap-linuxlab/community.sap_launchpad) Ansible Collection.
2225

2326
Software compatibility:
27+
2428
- This Ansible Role is applicable to IBM Db2 11.5 certified for SAP.
2529
- It is applicable to 11.5.9 and later, which provides `db2cm` binary compatibility for AWS, GCP and MS Azure.
2630
<!-- END Prerequisites -->

roles/sap_ha_install_hana_hsr/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The Ansible Role `sap_ha_install_hana_hsr` is used to configure and enable SAP H
1414
<!-- BEGIN Prerequisites -->
1515
## Prerequisites
1616
Managed nodes:
17+
1718
- Same Operating system version
1819
- SAP HANA is installed with same version on both nodes.
1920
<!-- END Prerequisites -->
@@ -25,6 +26,7 @@ Managed nodes:
2526
<!-- BEGIN Execution Recommended -->
2627
### Recommended
2728
It is recommended to execute this role together with other roles in this collection, in the following order:
29+
2830
1. [sap_general_preconfigure](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_general_preconfigure)
2931
2. [sap_hana_preconfigure](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_hana_preconfigure)
3032
3. [sap_install_media_detect](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_install_media_detect)

0 commit comments

Comments
 (0)