Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collection: merge dev to main for release 1.4.1 #771

Merged
merged 178 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
1657b35
Merge pull request #635 from sap-linuxlab/main
berndfinger Feb 2, 2024
a651f1b
fix(sap_hana_preconfigure/tasks/SLES): update kernel paramenters
Wabri Feb 6, 2024
c8aeb72
fix(roles/sap_*_preconfigure): disable and stop sapconf when saptune run
Wabri Feb 6, 2024
fb32d0d
fix(sap_hana_preconfigure): split every element independently
Wabri Feb 8, 2024
541ee07
Merge pull request #640 from Wabri/feature/333/sles-saptune-check
Wabri Feb 8, 2024
00b1b30
sap_hana_preconfigure: Catch SELinux disabled
berndfinger Feb 8, 2024
72014ae
collection: Fix pylint sanity test
berndfinger Feb 9, 2024
b06265e
collection: Fix pep8 sanity test
berndfinger Feb 9, 2024
ce506f0
collection: Fix shebang sanity test
berndfinger Feb 9, 2024
cc20bda
fix(sap_hana_preconfigure): solve the linting problem
Wabri Feb 9, 2024
186e97a
fix(sap_hana_preconfigure): fix some more typos
Wabri Feb 9, 2024
6fcc1a1
feat(sap_hana_preconfigure): update grub using handlers
Wabri Feb 9, 2024
1179289
fix(sap_hana_preconfigure): wrong placement of handlers
Wabri Feb 9, 2024
99d3039
Merge pull request #645 from berndfinger/issue-641
berndfinger Feb 9, 2024
d0a0743
sap_general_preconfigure: implement tags
berndfinger Feb 9, 2024
3f7bffa
Merge pull request #647 from berndfinger/issue-646
berndfinger Feb 12, 2024
7194d55
sap_general_preconfigure: add more fine-grained tags
berndfinger Feb 12, 2024
f828b4c
sap_general_preconfigure: optimize tags; adapt README.md
berndfinger Feb 12, 2024
c653640
sap_general_preconfigure: Add more examples to README.md
berndfinger Feb 12, 2024
c2cd1a4
sap_general_preconfigure: Clarify the scope of tags in README.md
berndfinger Feb 12, 2024
40558c7
fix(ansible-test-sanity): update workflow to run in every pr
Wabri Feb 12, 2024
43167ee
fix(sap_hana_preconfigure/tasks/SLES): update noop with bin/true
Wabri Feb 13, 2024
99a22ec
Fix temp removal task
Feb 13, 2024
6329c5b
sap_general_preconfigure: Use the role sap_maintain_etc_hosts
berndfinger Feb 14, 2024
1cd37ec
sap_general_preconfigure: rename sap_* variables
berndfinger Feb 14, 2024
f9bdc72
Merge pull request #656 from rnozaki/oracle_patches
sean-freeman Feb 14, 2024
5a790ac
Merge pull request #652 from Wabri/feature/648/ansible-test-sanity
Wabri Feb 16, 2024
7e08d48
sap_general_preconfigure: Use only one tag for running all configurat…
berndfinger Feb 16, 2024
f84f9d3
sap_general_preconfigure: Fix some obvious errors
berndfinger Feb 27, 2024
740ba0b
sap_general_preconfigure: Add global SAP note tags
berndfinger Feb 28, 2024
63bf621
sap_general_preconfigure: Adapt README.md
berndfinger Feb 28, 2024
7634e2e
Merge pull request #653 from berndfinger/issue-342
berndfinger Feb 28, 2024
1e8654b
Merge branch 'dev' into use_sap_maintain_etc_hosts
berndfinger Feb 28, 2024
2428375
Add missing newline at the end of 03-setting-the-hostname.yml
berndfinger Feb 28, 2024
e46628a
Remove trailing spaces
berndfinger Feb 28, 2024
e4dd90f
sap_swpm: Improve setting file permissions
berndfinger Feb 28, 2024
6f32b71
sap_swpm: Fix ansible-lint
berndfinger Feb 28, 2024
1c6348e
Merge pull request #660 from berndfinger/use_sap_maintain_etc_hosts
berndfinger Feb 29, 2024
5ec64dd
sap_maintain_etc_hosts: Fix wrong assert messages
berndfinger Feb 29, 2024
0e9b7e5
sap_maintain_etc_hosts: no longer use ansible.utils.ip
berndfinger Feb 29, 2024
8b8748f
sap_maintain_etc_hosts: use the regex method also for assert
berndfinger Feb 29, 2024
ac122b1
sap_swpm: Fix task name for chmod/chown
berndfinger Feb 29, 2024
07757fb
Variable changes for different os and platforms
marcelmamula Feb 7, 2024
52964e6
bugfix for list error unique
marcelmamula Mar 1, 2024
01b3d0a
sap_hana_install: Support fapolicyd
berndfinger Mar 1, 2024
8c32eb4
sap_hana_install: Use "hana" instead of "_hana"
berndfinger Mar 1, 2024
da5312f
Merge pull request #669 from berndfinger/issue-667
berndfinger Mar 4, 2024
ee67845
Merge branch 'dev' into issue-662
berndfinger Mar 4, 2024
f2b3d91
sap_maintain_etc_hosts: Fix wrong assert messages also for absent hosts
berndfinger Mar 4, 2024
ee8e78d
Merge pull request #668 from berndfinger/issue-662
berndfinger Mar 4, 2024
1f88415
sap_hana_install: Ensure fapolicyd is present...
berndfinger Mar 4, 2024
e7dba36
sap_hana_install: fapolicyd - fix ansible-lint
berndfinger Mar 4, 2024
b76b655
sap_swpm: Use non-default loop vars
berndfinger Mar 4, 2024
538a410
sap_swpm: No need to use pipefail in shell module
berndfinger Mar 4, 2024
28460cc
sap_swpm: only display names of item when defining variables in a loop
berndfinger Mar 4, 2024
8c40e91
collection: Use -i instead of -l test scripts
berndfinger Mar 5, 2024
4823078
Merge pull request #638 from Wabri/feature/337/sles-kernel
Wabri Mar 5, 2024
d7e0315
sap_hana_install: Fix regression in test scripts.
berndfinger Mar 7, 2024
39f62b2
Merge pull request #680 from berndfinger/issue-671
berndfinger Mar 7, 2024
5f0f19d
hana_ prefix update for dictionary
marcelmamula Mar 8, 2024
c19fcec
sap_swpm: Adjust permissions of non-executables
berndfinger Mar 8, 2024
992eacc
Merge pull request #665 from berndfinger/issue-663
berndfinger Mar 8, 2024
aac67af
sap_hana_install: Improve the pattern for identifying executables
berndfinger Mar 8, 2024
f69ebc7
Fix item label
Mar 9, 2024
6c9efad
default for package dictionaries to simplify vars
marcelmamula Mar 11, 2024
754c803
Merge pull request #682 from rnozaki/fix_item_label
berndfinger Mar 11, 2024
dccde01
sap_hana_install: fix wrong comment
berndfinger Mar 11, 2024
b7b1063
Merge pull request #642 from marcelmamula/dev
marcelmamula Mar 13, 2024
30e0d85
sap_netweaver_preconfigure: Sync with SAP note 3119751 v.13
berndfinger Mar 18, 2024
0c95975
sap_netweaver_preconfigure: Sync with SAP note 3119751 v.13, assert mode
berndfinger Mar 18, 2024
cdaeee7
sap_netweaver_preconfigure: Fix spelling errors
berndfinger Mar 18, 2024
8d67018
sap_netweaver_preconfigure: Use find module, normal mode
berndfinger Mar 19, 2024
1f3cc7a
sap_netweaver_preconfigure: Fix ansible-lint and spell check
berndfinger Mar 19, 2024
b444c85
fix(sap_hana_preconfigure): move handlers to the correct location
Wabri Mar 19, 2024
e44e65c
sap_netweaver_preconfigure: Use find module, assert mode
berndfinger Mar 19, 2024
94f8bcc
sap_netweaver_preconfigure: Fix wrong link destination
berndfinger Mar 20, 2024
2d3945c
sap_netweaver_preconfigure: Small formatting change
berndfinger Mar 20, 2024
c3fc9a9
fix(sap_hana_preconfigure): set to true backrefs
Wabri Mar 20, 2024
4535893
sap_netweaver_preconfigure: Simplify link validation in assert mode
berndfinger Mar 20, 2024
0821135
Merge pull request #686 from berndfinger/issue-685
rhmk Mar 20, 2024
a8e024a
fix(sap_hana_preconfigure/SLES): typo on backrefs
Wabri Mar 21, 2024
703dbd5
Merge pull request #688 from sap-linuxlab/fix/687/handlers
Wabri Mar 21, 2024
6ff52d2
sap_hana_install: fapolicyd - further improvements
berndfinger Mar 21, 2024
1c0e382
sap_hana_install: fapolicyd - necessary changes to defaults/main.yml
berndfinger Mar 21, 2024
936f1ee
sap_hana_install: fapolicyd - further improvements
berndfinger Mar 22, 2024
adfc634
sap_hana_install: fapolicyd - use /hana and /usr/sap
berndfinger Mar 22, 2024
b94e9cc
sap_hana_install: fapolicyd - modify task name
berndfinger Mar 22, 2024
73cb99d
sap_hana_install: fapolicyd - add marker to fapolicyd config file
berndfinger Mar 22, 2024
8a508c2
sap_hana_install: fapolicyd - simplify marker addition
berndfinger Mar 22, 2024
adc3e9b
sap_hana_install: fapolicyd - add --check-config
berndfinger Mar 22, 2024
a0464c1
sap_hana_install: fapolicyd - add config validation
berndfinger Mar 22, 2024
10ecc6f
sap_hana_install: fapolicyd - validate argument for fapolicyd integrity
berndfinger Mar 23, 2024
109799c
sap_hana_install: fapolicyd - also protect shellscripts
berndfinger Mar 25, 2024
b996b88
sap_hana_install: fapolicyd - modify comment for rules file
berndfinger Mar 25, 2024
7891bbf
sap_hana_install: fapolicyd - add Ansible marker to rules file
berndfinger Mar 25, 2024
05445d8
sap_hana_install: fapolicyd - add condition for processing template
berndfinger Mar 25, 2024
7337d3f
sap_hana_install: fapolicyd - add tag sap_hana_install_use_fapolicyd
berndfinger Mar 26, 2024
cd3ab78
sap_hana_install: fapolicyd - reorder modificaitons
berndfinger Mar 27, 2024
8ed8244
sap_hana_install: fapolicyd - implement just one rule
berndfinger Mar 27, 2024
3f9fc3a
sap_hana_install: fapolicyd - ansible-lint cleanup
berndfinger Mar 27, 2024
2b935af
feat: SAP certified HANA cluster, Angi, fixes
marcelmamula Apr 5, 2024
97fea45
fix: spelling check
marcelmamula Apr 5, 2024
aa210d8
fix: replacing hardcoded _group ascs ers
marcelmamula Apr 8, 2024
9ee6ac9
readme updated and regenerated
marcelmamula Apr 11, 2024
2191c38
sap_general_preconfigure: Fix /etc/hosts check in assert mode
berndfinger Apr 11, 2024
153a36e
sap_install_media_detect: improve file type detection
berndfinger Apr 12, 2024
6af2fc1
sap_install_media_detect: Solve issue #699
berndfinger Apr 12, 2024
1af130a
fix: renaming vars, srhook lowercase
marcelmamula Apr 12, 2024
fd0296f
sap_install_media_detect: No need for a new file type
berndfinger Apr 12, 2024
312ca16
Detection of duplicate SAR files for EXE, EXEDB, igs, igshelper and w…
rob0d Apr 12, 2024
bee152a
Added AAS var file
Apr 12, 2024
ae59497
Merge pull request #701 from berndfinger/issue-699
berndfinger Apr 15, 2024
454d369
sap_swpm: changes for s4hana java
sean-freeman Apr 15, 2024
b2bbdf5
sap_swpm: comment out java pkg params
sean-freeman Apr 15, 2024
5854934
Updated based on Seans comments to comply with the way sample files a…
Apr 15, 2024
91e9a90
Merge pull request #706 from rob0d/aas
sean-freeman Apr 15, 2024
17783b7
new fs clone variable
marcelmamula Apr 15, 2024
c40a325
Merge pull request #693 from marcelmamula/suse-ha-rework
marcelmamula Apr 16, 2024
b3d9b9a
Merge pull request #700 from sap-linuxlab/main
Wabri Apr 17, 2024
3a9930f
sap_general_preconfigure: Only allow one /etc/hosts line for an IPv4 …
berndfinger Apr 17, 2024
1fc1459
sap_general_preconfigure: No longer use awk for /etc/hosts verification
berndfinger Apr 17, 2024
ac1ac09
sap_general_preconfigure: Solve ansible-lint errors
berndfinger Apr 17, 2024
8000962
fix(check_outdate_deps): replace datas with data
Wabri Apr 18, 2024
8ccd0bf
fix(check_outdate_deps): solve regex definition for strings
Wabri Apr 18, 2024
87e700e
fix(check_outdate_deps): solve errors in sanity checks
Wabri Apr 18, 2024
4636753
Merge pull request #718 from sap-linuxlab/fix/715/sanity_check
Wabri Apr 18, 2024
41638a7
Update README.md
marcoschum Apr 22, 2024
ec94808
Merge pull request #723 from marcoschum/patch-2
berndfinger Apr 23, 2024
f12c7b0
sap_general_preconfigure: Minor change
berndfinger Apr 25, 2024
f9f57de
Merge pull request #697 from berndfinger/issue-696
berndfinger Apr 26, 2024
00d2129
feat: ASCS ERS Simple Mount
marcelmamula Apr 26, 2024
fa54412
fix(workflows): always accept the new changes
Wabri May 2, 2024
fa293c8
Merge pull request #731 from Wabri/hotfix/check_deps_automation_branch
Wabri May 3, 2024
d10461c
Merge pull request #702 from rob0d/patch-1
berndfinger May 3, 2024
a97844d
Merge pull request #707 from sean-freeman/s4h_java
berndfinger May 3, 2024
c577648
sap_install_media_detect: Allow detection of SAPEXE only
berndfinger May 4, 2024
e97e6f0
sap_install_media_detect: Use 'none' in place of 'absent'
berndfinger May 7, 2024
29e0757
Workaround for crmsh primitive behavior
marcelmamula May 9, 2024
eb11f92
sap_general_preconfigure: Revert to awk for asserting /etc/hosts
berndfinger May 13, 2024
6d75ff8
Aligned the SWPM execution and monitoring timeouts to 24hrs (86400s)
May 14, 2024
09fca20
Aligned the SWPM execution and monitoring timeouts to 24hrs (86400s) …
May 14, 2024
95a9879
post steps for HAlib to end in correct state
marcelmamula May 21, 2024
69de067
updated sleep timing, extra output
marcelmamula May 22, 2024
5903f02
Merge pull request #739 from rob0d/dev
sean-freeman May 23, 2024
77debca
Merge pull request #737 from berndfinger/issue-736
sean-freeman May 23, 2024
d976f80
sap_*: add python3-rpm for sles
sean-freeman May 23, 2024
e68574c
sap_storage_setup: fix for TB disks
sean-freeman May 28, 2024
a780562
sap_swpm: append separate var for extraction
sean-freeman May 29, 2024
0639370
sap_install_media_detect: search sap_swpm dir on re-exec
sean-freeman May 29, 2024
c13f750
Merge pull request #742 from sean-freeman/sles_rpm_install
sean-freeman May 29, 2024
e5b80bf
Merge pull request #745 from sean-freeman/swpm_media
sean-freeman May 29, 2024
dd67676
sap_storage_setup: codespell typo fix
sean-freeman May 29, 2024
4cf9c7e
Merge pull request #744 from sean-freeman/storage_tb_fix
sean-freeman May 29, 2024
e12afa7
typo, missing failed_when
marcelmamula Jun 3, 2024
b7df3ae
updated validation for HAGetFailoverConfig
marcelmamula Jun 3, 2024
54aa486
Merge pull request #732 from berndfinger/issue-729
berndfinger Jun 4, 2024
2ab9439
new validation for HAlib status and restart
marcelmamula Jun 4, 2024
ef06363
Merge pull request #725 from marcelmamula/simple-mount
marcelmamula Jun 5, 2024
d0bf4ab
sap_hana_install: fapolicyd - fix wrong true/false in comments in def…
berndfinger Jun 7, 2024
14cd546
sap_hana_install: fapolicyd - fix wrong false + false entry in comment
berndfinger Jun 7, 2024
46e6003
sap_hana_install: fapolicyd - Remove superfluous and wrong comment
berndfinger Jun 7, 2024
08fc76b
sap_hana_install: fapolicyd - rename variables
berndfinger Jun 11, 2024
bfd49ed
Python3-pip added, NFS enhancement
marcelmamula Jun 14, 2024
0840cdd
Remove old comment for run_once
marcelmamula Jun 14, 2024
9f5d17a
Merge pull request #754 from marcelmamula/python-sap-ha
berndfinger Jun 14, 2024
f5ffb3a
Merge pull request #727 from berndfinger/hana_install_fapolicyd
berndfinger Jun 14, 2024
fe1d73a
sap_hana_install: Solve issue #756
berndfinger Jun 17, 2024
19f72b5
sap_hana_install: Move fapolicyd tags to block level
berndfinger Jun 18, 2024
35a07fe
sap_hana_install: Remove leftover tag from task
berndfinger Jun 19, 2024
181996b
Merge pull request #757 from berndfinger/issue-756-fagenrules
berndfinger Jun 19, 2024
c8afc82
sap_general_preconfigure: Use the package module in most cases
berndfinger Jun 19, 2024
0387edf
Merge pull request #758 from berndfinger/issue-755-revert-to-package-…
berndfinger Jun 20, 2024
b3bdf0b
Workflows: Add missing '---'
berndfinger Jun 20, 2024
7467ae8
sap_ha_pacemaker_cluster: fix pcs resource restart
ja9fuchs Jun 20, 2024
d58d44b
Merge pull request #769 from ja9fuchs/ha-fix-nw-restart
berndfinger Jun 21, 2024
ada2153
Merge pull request #768 from berndfinger/issue-767-ansible-lint-fix-f…
berndfinger Jun 21, 2024
4b43739
collection: Prepare for v1.4.1
berndfinger Jun 21, 2024
b25f536
Merge pull request #770 from berndfinger/new-release-1.4.1-v2
berndfinger Jun 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/ansible-test-sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
name: ansible-test sanity of the collection

on:
schedule:
- cron: '31 12 * * 1'

pull_request:
branches:
- main
- dev
workflow_dispatch:

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

name: CodeSpell

on:
Expand Down
45 changes: 45 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,51 @@ community.sap_install Release Notes
.. contents:: Topics


v1.4.1
======

Release Summary
---------------

| Release Date: 2024-06-21
| feat: sap_hana_install: add compatibility for fapolicyd
| feat: sap_swpm: append generate options for s4hana java
| feat: sap_ha_pacemaker_cluster: upgrade to ha_cluster Ansible Role with SLES compatibility
| feat: sap_ha_pacemaker_cluster: compatibility enhancement for SLES
| feat: sap_ha_pacemaker_cluster: improved handling of custom SAP HANA srHooks
| feat: sap_ha_pacemaker_cluster: handling for future merged Resource Agent package (SAPHanaSR-angi)
| feat: sap_ha_pacemaker_cluster: graceful SAP HANA start after PCMK Cluster start
| feat: sap_ha_pacemaker_cluster: ASCS ERS Simple Mount
| collection: add sample AAS installation var file
| collection: fix ansible-test sanity errors
| collection: for package_facts Ansible Module add python3-rpm requirement for SLES
| collection: use -i instead of -l test scripts
| sap_*_preconfigure: disable and stop sapconf when saptune run
| sap_general_preconfigure: fix /etc/hosts check in assert mode
| sap_general_preconfigure: revert to awk for asserting /etc/hosts
| sap_general_preconfigure: use tags for limiting the role scope
| sap_general_preconfigure: use the package module in most cases
| sap_general_preconfigure: use the role sap_maintain_etc_hosts - RHEL systems
| sap_hana_preconfigure: move handlers to the correct location
| sap_hana_preconfigure: catch SELinux disabled
| sap_hana_preconfigure: update kernel parameters for SLES
| sap_netweaver_preconfigure: sync with SAP note 3119751 v.13 for RHEL
| sap_anydb_install_oracle: fix temp directory removal
| sap_ha_pacemaker_cluster: use expect Ansible Module and add python3-pip requirement
| sap_ha_pacemaker_cluster: add retry for Azure Files (NFS) to avoid locks
| sap_ha_pacemaker_cluster: variable changes for different os and platforms
| sap_ha_pacemaker_cluster: fix pcs resource restart
| sap_hana_install: update documentation for parameter sap_hana_install_force
| sap_install_media_detect: detection of SAP Kernel Part I only
| sap_install_media_detect: duplicate SAR file handling for SAP Kernel, IGS, WebDisp
| sap_install_media_detect: directory handling fix for SAP SWPM
| sap_maintain_etc_hosts: fix wrong assert messages
| sap_maintain_etc_hosts: remove use ansible.utils.ip
| sap_storage_setup: fix for TB disks
| sap_swpm: directory handling fix for SAP SWPM
| sap_swpm: align execution and monitoring timeouts to 24hrs (86400s)
| sap_swpm: optionally skip setting file permissions

v1.4.0
======

Expand Down
43 changes: 43 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,46 @@ releases:
| sap_anydb_install_oracle: Feature add for Oracle DB install with patch
'
release_date: '2024-02-02'
1.4.1:
changes:
release_summary: '| Release Date: 2024-06-20

| feat: sap_hana_install: add compatibility for fapolicyd
| feat: sap_swpm: append generate options for s4hana java
| feat: sap_ha_pacemaker_cluster: upgrade to ha_cluster Ansible Role with SLES compatibility
| feat: sap_ha_pacemaker_cluster: compatibility enhancement for SLES
| feat: sap_ha_pacemaker_cluster: improved handling of custom SAP HANA srHooks
| feat: sap_ha_pacemaker_cluster: handling for future merged Resource Agent package (SAPHanaSR-angi)
| feat: sap_ha_pacemaker_cluster: graceful SAP HANA start after PCMK Cluster start
| feat: sap_ha_pacemaker_cluster: ASCS ERS Simple Mount
| collection: add sample AAS installation var file
| collection: fix ansible-test sanity errors
| collection: for package_facts Ansible Module add python3-rpm requirement for SLES
| collection: use -i instead of -l test scripts
| sap_*_preconfigure: disable and stop sapconf when saptune run
| sap_general_preconfigure: fix /etc/hosts check in assert mode
| sap_general_preconfigure: revert to awk for asserting /etc/hosts
| sap_general_preconfigure: use tags for limiting the role scope
| sap_general_preconfigure: use the package module in most cases
| sap_general_preconfigure: use the role sap_maintain_etc_hosts - RHEL systems
| sap_hana_preconfigure: move handlers to the correct location
| sap_hana_preconfigure: catch SELinux disabled
| sap_hana_preconfigure: update kernel parameters for SLES
| sap_netweaver_preconfigure: sync with SAP note 3119751 v.13 for RHEL
| sap_anydb_install_oracle: fix temp directory removal
| sap_ha_pacemaker_cluster: use expect Ansible Module and add python3-pip requirement
| sap_ha_pacemaker_cluster: add retry for Azure Files (NFS) to avoid locks
| sap_ha_pacemaker_cluster: variable changes for different os and platforms
| sap_ha_pacemaker_cluster: fix pcs resource restart
| sap_hana_install: update documentation for parameter sap_hana_install_force
| sap_install_media_detect: detection of SAP Kernel Part I only
| sap_install_media_detect: duplicate SAR file handling for SAP Kernel, IGS, WebDisp
| sap_install_media_detect: directory handling fix for SAP SWPM
| sap_maintain_etc_hosts: fix wrong assert messages
| sap_maintain_etc_hosts: remove use ansible.utils.ip
| sap_storage_setup: fix for TB disks
| sap_swpm: directory handling fix for SAP SWPM
| sap_swpm: align execution and monitoring timeouts to 24hrs (86400s)
| sap_swpm: optionally skip setting file permissions
'
release_date: '2024-06-20'
3 changes: 2 additions & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace: community
name: sap_install

# The version of the collection. Must be compatible with semantic versioning
version: 1.4.0
version: 1.4.1

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand All @@ -25,6 +25,7 @@ authors:
- Janine Fuchs <jfuchs(at)redhat.com>
- Steven Stringer <steven.stringer(at)suse.com>
- Marcel Mamula <marcel.mamula(at)suse.com>
- Gabriele Puliti <gabriele.puliti(at)suse.com>

### OPTIONAL but strongly recommended
# A short summary description of the collection
Expand Down
1 change: 1 addition & 0 deletions playbooks/sample-sap-swpm-default-mode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- name: Import variables for sap_swpm Ansible Role (Default Mode)
ansible.builtin.include_vars:
# file: ./sample-variables-sap-swpm-default-mode-bw4hana-onehost-install.yml
# file: ./sample-variables-sap-swpm-default-mode-s4hana-distributed-aas-install
# file: ./sample-variables-sap-swpm-default-mode-s4hana-distributed-ascs-install
# file: ./sample-variables-sap-swpm-default-mode-s4hana-distributed-dbload-install
# file: ./sample-variables-sap-swpm-default-mode-s4hana-distributed-ers-install
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---

# Detect SAP NetWeaver software
sap_install_media_detect_source_directory: "/software"
sap_install_media_detect_source: local_dir
sap_install_media_detect_swpm: true
sap_install_media_detect_hostagent: true
sap_install_media_detect_igs: true
sap_install_media_detect_kernel: true
sap_install_media_detect_webdisp: false

# Product ID for New Installation
sap_swpm_product_catalog_id: NW_DI:S4HANA2020.CORE.HDB.PD
#NW_DI:S4HANA2020.CORE.HDB.ABAPHA

# Generate inifile.params using sap_swpm Ansible Role
sap_swpm_inifile_list:
- swpm_installation_media
- credentials
- db_connection_nw_hana
- nw_config_other
- nw_config_additional_application_server_instance
- nw_config_host_agent
- sap_os_linux_user

# Software
sap_swpm_software_path: /software/download_basket
sap_swpm_sapcar_path: /software/download_basket
sap_swpm_swpm_path: /software/download_basket

# NW Passwords
sap_swpm_master_password: "NewPass$321"
sap_swpm_ddic_000_password: "NewPass$321"

# HDB Passwords
sap_swpm_db_system_password: "NewPass$321"
sap_swpm_db_systemdb_password: "NewPass$321"
sap_swpm_db_schema_abap: "SAPHANADB"
sap_swpm_db_schema_abap_password: "NewPass$321"
sap_swpm_db_sidadm_password: "NewPass$321"

# NW Instance Parameters
sap_swpm_sid: S4D
sap_swpm_aas_instance_nr: "00"
sap_swpm_aas_instance_hostname: "s4h2020aas"

# Unix User ID
sap_swpm_sapadm_uid: '3000'
sap_swpm_sapsys_gid: '3001'
sap_swpm_sidadm_uid: '3001'

# HDB Instance Parameters
sap_swpm_db_host: "hana01"
sap_swpm_db_sid: HDD
sap_swpm_db_instance_nr: "00"
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sap_swpm_inifile_list:
- nw_config_java_ume
- nw_config_host_agent
- sap_os_linux_user
- solman_credentials_swpm1
- nw_config_java_icm_credentials
- solman_abap_swpm1

# Software
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sap_swpm_inifile_list:
- nw_config_ports
- nw_config_host_agent
# - sap_os_linux_user # Ignore, and SAP SWPM will auto-assign UID and GID
- solman_credentials_swpm1
- nw_config_java_icm_credentials
- nw_config_java_feature_template_ids

sap_swpm_java_template_id_selected_list:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@

- name: Oracle DB Patch - Remove the temp dir
ansible.builtin.file:
path: "{{ sap_anydb_install_oracle_base }}/tmp_sbp"
state: absent
path: "{{ sap_anydb_install_oracle_base }}/tmp_sbp"
state: absent
52 changes: 52 additions & 0 deletions roles/sap_general_preconfigure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,58 @@ sap_general_preconfigure_db_group_name: dba

<!-- END: Role Input Parameters for sap_general_preconfigure -->

## Tags (RHEL systems only)

With the following tags, the role can be called to perform certain activities only:
- tag `sap_general_preconfigure_installation`: Perform only the installation tasks
- tag `sap_general_preconfigure_configuration`: Perform only the configuration tasks
- tag `sap_general_preconfigure_3108316`: Perform only the tasks(s) related to this SAP note.
- tag `sap_general_preconfigure_2772999_03`: Perform only the tasks(s) related to step 3 of the SAP note.
- tag `sap_general_preconfigure_etc_hosts`: Perform only the tasks(s) related to this step. This step might be one of multiple
configuration activities of a SAP note. Also this step might be valid for multiple RHEL major releases.

Sample call for only performing all installation and configuration tasks (sample playbook name sap.yml, see the next section for
an example). This is the default behavior. If no tag is specified, all installation and configuration tasks are enabled:
```
# ansible-playbook sap.yml
```

Sample call for only performing all installation tasks:
```
# ansible-playbook sap.yml --tags=sap_general_preconfigure_installation
```

Sample call for only performing all configuration tasks:
```
# ansible-playbook sap.yml --tags=sap_general_preconfigure_configuration
```

Sample call for only verifying and modifying the /etc/hosts file:
```
# ansible-playbook sap.yml --tags=sap_general_preconfigure_etc_hosts
```

Sample call for performing all configuration steps except verifying and modifying the /etc/hosts file:
```
# ansible-playbook sap.yml --tags=sap_general_preconfigure_configuration --skip_tags=sap_general_preconfigure_etc_hosts
```

Sample call for only performing the configuration activities related to SAP note 3108316 (RHEL 9 specific):
```
# ansible-playbook sap.yml --tags=sap_general_preconfigure_3108316
```

Sample call for performing all configuration activities except those related to step 2 (SELinux settings) of SAP note 3108316 (RHEL 9 specific):
Sample call for only performing the configuration activities related to step 2 (SELinux settings) of SAP note 3108316 (RHEL 9 specific):
```
# ansible-playbook sap.yml --tags=sap_general_preconfigure_3108316_02
```

Sample call for performing all configuration activities except those related to step 2 (SELinux settings) of SAP note 3108316 (RHEL 9 specific):
```
# ansible-playbook sap-general-preconfigure.yml --tags=sap_general_preconfigure_configuration --skip_tags=sap_general_preconfigure_3108316_02
```

## Dependencies

This role does not depend on any other role.
Expand Down
14 changes: 6 additions & 8 deletions roles/sap_general_preconfigure/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,16 @@ sap_general_preconfigure_kernel_parameters: "{{ __sap_general_preconfigure_kerne
sap_general_preconfigure_max_hostname_length: '13'
# The maximum length of the hostname. See SAP note 611361.

# Reason for noqa: A separate role is planned to replace the code which uses this variable.
sap_hostname: "{{ ansible_hostname }}" # noqa var-naming[no-role-prefix]
# If "global" variables are set, use those. If not, default to the values from gather_facts:
sap_general_preconfigure_ip: "{{ sap_ip | d(ansible_default_ipv4.address) }}"
# The IPV4 address to be used for updating or checking `/etc/hosts` entries.

sap_general_preconfigure_hostname: "{{ sap_hostname | d(ansible_hostname) }}"
# The hostname to be used for updating or checking `/etc/hosts` entries.

# Reason for noqa: A separate role is planned to replace the code which uses this variable.
sap_domain: "{{ ansible_domain }}" # noqa var-naming[no-role-prefix]
sap_general_preconfigure_domain: "{{ sap_domain | d(ansible_domain) }}"
# The DNS domain name to be used for updating or checking `/etc/hosts` entries.

# Reason for noqa: A separate role is planned to replace the code which uses this variable.
sap_ip: "{{ ansible_default_ipv4.address }}" # noqa var-naming[no-role-prefix]
# The IPV4 address to be used for updating or checking `/etc/hosts` entries.

# sap_general_preconfigure_db_group_name: (not defined by default)
# Use this variable to specify the name of the RHEL group which is used for the database processes.
# If defined, it will be used to configure process limits as per step
Expand Down
6 changes: 3 additions & 3 deletions roles/sap_general_preconfigure/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,21 +310,21 @@ argument_specs:
required: false
type: str

sap_hostname:
sap_general_preconfigure_hostname:
default: "{{ ansible_hostname }}"
description:
- The hostname to be used for updating or checking `/etc/hosts` entries.
required: false
type: str

sap_domain:
sap_general_preconfigure_domain:
default: "{{ ansible_domain }}"
description:
- The DNS domain name to be used for updating or checking `/etc/hosts` entries.
required: false
type: str

sap_ip:
sap_general_preconfigure_ip:
default: "{{ ansible_default_ipv4.address }}"
description:
- The IPV4 address to be used for updating or checking `/etc/hosts` entries.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
- name: Assert - List required SAP Notes
ansible.builtin.debug:
var: __sap_general_preconfigure_sapnotes_versions | difference([''])
tags:
- always

- name: Gather service facts
ansible.builtin.service_facts:
tags:
- always

- name: Assert - Include configuration actions for required sapnotes
ansible.builtin.include_tasks: "sapnote/assert-{{ sap_note_line_item.number }}.yml"
with_items: "{{ __sap_general_preconfigure_sapnotes_versions | difference(['']) }}"
loop_control:
loop_var: sap_note_line_item
tags:
- always
Loading
Loading