Skip to content

Commit 5ee5cbe

Browse files
authored
Merge pull request #604 from sap-linuxlab/dev
collection: merge dev to main for release 1.3.4
2 parents f41c5fe + aef5fb4 commit 5ee5cbe

File tree

271 files changed

+5079
-1488
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+5079
-1488
lines changed

.ansible-lint

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,22 @@ exclude_paths:
1515
#- roles/sap_hana_preconfigure
1616
- roles/sap_hostagent
1717
- roles/sap_hypervisor_node_preconfigure
18-
- roles/sap_install_media_detect
18+
#- roles/sap_install_media_detect
1919
#- roles/sap_netweaver_preconfigure
2020
#- roles/sap_storage_setup
2121
#- roles/sap_swpm
2222
- roles/sap_vm_preconfigure
23-
23+
- tests/
2424
enable_list:
2525
- yaml
2626
skip_list:
27+
# We don't want to enforce new Ansible versions for Galaxy:
28+
- meta-runtime[unsupported-version]
29+
# We do not want to use checks which are marked as experimental:
2730
- experimental
28-
- ignore-errors # We use ignore_errors for all the assert tasks, which should be acceptable
29-
- schema # We want to allow single digit version numbers in a role's meta/main.yml file. This is allowed as per https://galaxy.ansible.com/docs/contributing/creating_role.html and https://galaxy.ansible.com/api/v1/platforms/?page=6.
30-
- name[template] # Allow templating inside name. During dev and qa, it should be possible to identify cases where it doesn't work
31+
# We use ignore_errors for all the assert tasks, which should be acceptable:
32+
- ignore-errors
33+
# We want to allow single digit version numbers in a role's meta/main.yml file:
34+
- schema
35+
# Allow templating inside name because it creates more detailed output:
36+
- name[template]
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
3+
# Workflow for ansible-lint of a role
4+
5+
name: ansible-lint of the role sap_install_media_detect
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
- dev
12+
paths:
13+
- 'roles/sap_install_media_detect/**'
14+
pull_request:
15+
branches:
16+
- main
17+
- dev
18+
paths:
19+
- 'roles/sap_install_media_detect/**'
20+
21+
jobs:
22+
ansible-lint:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Check out the code
27+
uses: actions/checkout@main
28+
29+
- name: Set up Python 3
30+
uses: actions/setup-python@main
31+
with:
32+
python-version: '3.9'
33+
34+
- name: Install test dependencies
35+
run: |
36+
pip3 install ansible==7.5.0
37+
pip3 install ansible-compat==3.0.2
38+
pip3 install ansible-core==2.14.5
39+
pip3 install ansible-lint==6.8.6
40+
41+
- name: Run ansible-lint
42+
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_install_media_detect
43+
run: ansible-lint
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
3+
# Workflow for ansible-lint of a role
4+
5+
name: ansible-lint of the role sap_maintain_etc_hosts
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
- dev
12+
paths:
13+
- 'roles/sap_maintain_etc_hosts/**'
14+
pull_request:
15+
branches:
16+
- main
17+
- dev
18+
paths:
19+
- 'roles/sap_maintain_etc_hosts/**'
20+
21+
jobs:
22+
ansible-lint:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Check out the code
27+
uses: actions/checkout@main
28+
29+
- name: Set up Python 3
30+
uses: actions/setup-python@main
31+
with:
32+
python-version: '3.9'
33+
34+
- name: Install test dependencies
35+
run: |
36+
pip3 install ansible==7.5.0
37+
pip3 install ansible-compat==3.0.2
38+
pip3 install ansible-core==2.14.5
39+
pip3 install ansible-lint==6.8.6
40+
41+
- name: Run ansible-lint
42+
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_maintain_etc_hosts
43+
run: ansible-lint

.github/workflows/ansible-lint-sap_vm_preconfigure.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
- name: Set up Python 3
3030
uses: actions/setup-python@main
3131
with:
32-
python-version: '3.9'
32+
python-version: '3.12'
3333

3434
- name: Install test dependencies
3535
run: |
36-
pip3 install ansible==7.5.0
37-
pip3 install ansible-compat==3.0.2
38-
pip3 install ansible-core==2.14.5
39-
pip3 install ansible-lint==6.8.6
36+
pip3 install ansible==9.1.0
37+
pip3 install ansible-compat==4.1.10
38+
pip3 install ansible-core==2.16.2
39+
pip3 install ansible-lint==6.22.1
4040
4141
- name: Run ansible-lint
4242
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_vm_preconfigure

.github/workflows/ansible-lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
- name: Set up Python 3
2222
uses: actions/setup-python@main
2323
with:
24-
python-version: '3.9'
24+
python-version: '3.12'
2525

2626
- name: Install test dependencies
2727
run: |
28-
pip3 install ansible==7.5.0
29-
pip3 install ansible-compat==3.0.2
30-
pip3 install ansible-core==2.14.5
31-
pip3 install ansible-lint==6.8.6
28+
pip3 install ansible==9.1.0
29+
pip3 install ansible-compat==4.1.10
30+
pip3 install ansible-core==2.16.2
31+
pip3 install ansible-lint==6.22.1
3232
3333
# - name: Install collection dependencies
3434
# run: ansible-galaxy collection install community.general

.github/workflows/codespell.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CodeSpell
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
pull_request:
8+
branches:
9+
- dev
10+
11+
jobs:
12+
codespell:
13+
name: Check for spelling errors
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: codespell-project/actions-codespell@master
19+
with:
20+
ignore_words_list: aas,hsa,te,chage,addopt,sybsystem,uptodate

.github/workflows/yamllint-sap_hypervisor_node_preconfigure.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/yamllint-sap_vm_preconfigure.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
# types: [file, yaml]
3434
# entry: yamllint --strict
3535
- repo: https://github.com/ansible-community/ansible-lint.git
36-
rev: v6.8.6 # put latest release tag from https://github.com/ansible-community/ansible-lint/releases/
36+
rev: v6.22.1 # put latest release tag from https://github.com/ansible-community/ansible-lint/releases/
3737
hooks:
3838
- id: ansible-lint
3939
files: \.(yaml|yml)$

CHANGELOG.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@ community.sap_install Release Notes
55
.. contents:: Topics
66

77

8+
v1.3.4
9+
======
10+
11+
Release Summary
12+
---------------
13+
14+
| Release Date: 2024-01-15
15+
| collection: Feature add for CodeSpell in git repository
16+
| collection: Bug fix for ansible-lint of each Ansible Role within Ansible Collection
17+
| collection: Bug Fix for Ansible Core minimum version update to 2.12.0 for import compliance with Ansible Galaxy
18+
| collection: Bug Fix for Ansible CVE-2023-5764
19+
| sap_general_preconfigure: Feature add for additional RHEL for SAP 8.8 and 9.2 release compatibility
20+
| sap_hana_preconfigure: Feature add for compatibility with SLES using sapconf and SLES for SAP using saptune
21+
| sap_hana_preconfigure: Feature add for additional RHEL for SAP 8.8 and 9.2 release compatibility
22+
| sap_hana_preconfigure: Feature add to reduce restrictions on new OS versions which are not yet supported by SAP
23+
| sap_netweaver_preconfigure: Feature add for compatibility with SLES using sapconf and SLES for SAP using saptune
24+
| sap_ha_pacemaker_cluster: Feature add for Virtual IP and Constraints logic with Cloud Hyperscaler vendors
25+
| sap_hypervisor_node_preconfigure: Feature add for preconfiguration of KubeVirt (OpenShift Virtualization) hypervisor nodes
26+
| sap_hypervisor_node_preconfigure: Bug fix for preconfiguration code structure of KVM (Red Hat Enterprise Virtualization) hypervisor nodes
27+
| sap_install_media_detect: Bug Fix for existing files
28+
| sap_maintain_etc_hosts: Feature add for maintaining the /etc/hosts file of an SAP software host
29+
| sap_swpm: Bug fix for runtime missing dependency python3-pip and advanced execution mode skipped tasks during certain installations
30+
| sap_swpm: Feature add for basic System Copy executions in default mode
31+
832
v1.3.3
933
======
1034

0 commit comments

Comments
 (0)