Skip to content

Commit 22fb384

Browse files
committed
fix: pin community.general to <12.0.0 for EL8 compatibility
Signed-off-by: Norman Ziegner <[email protected]>
1 parent f6b52d5 commit 22fb384

File tree

7 files changed

+7
-1
lines changed

7 files changed

+7
-1
lines changed

.github/workflows/mysql_hardening.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
run: |
7676
pip install "ansible-core<2.17"
7777
ansible-galaxy collection install 'community.crypto:<3.0.0'
78+
ansible-galaxy collection install 'community.general:<12.0.0'
7879
working-directory: ansible_collections/devsec/hardening
7980
if: matrix.molecule_distro == 'rocky8' || matrix.molecule_distro == 'almalinux8'
8081

.github/workflows/nginx_hardening.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
run: |
7575
pip install "ansible-core<2.17"
7676
ansible-galaxy collection install 'community.crypto:<3.0.0'
77+
ansible-galaxy collection install 'community.general:<12.0.0'
7778
working-directory: ansible_collections/devsec/hardening
7879
if: matrix.molecule_distro == 'rocky8' || matrix.molecule_distro == 'almalinux8'
7980

.github/workflows/os_hardening.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
run: |
8080
pip install "ansible-core<2.17"
8181
ansible-galaxy collection install 'community.crypto:<3.0.0'
82+
ansible-galaxy collection install 'community.general:<12.0.0'
8283
working-directory: ansible_collections/devsec/hardening
8384
if: matrix.molecule_distro == 'rocky8' || matrix.molecule_distro == 'almalinux8'
8485

.github/workflows/os_hardening_vm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
source ~/.venv/ansible-collection-hardening/bin/activate
7474
pip install "ansible-core<2.17"
7575
ansible-galaxy collection install 'community.crypto:<3.0.0'
76+
ansible-galaxy collection install 'community.general:<12.0.0'
7677
working-directory: ansible_collections/devsec/hardening
7778
if: >
7879
matrix.molecule_distro == 'generic/rocky8' ||

.github/workflows/ssh_hardening.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: |
8383
pip install "ansible-core<2.17"
8484
ansible-galaxy collection install 'community.crypto:<3.0.0'
85+
ansible-galaxy collection install 'community.general:<12.0.0'
8586
working-directory: ansible_collections/devsec/hardening
8687
if: matrix.molecule_distro == 'rocky8' || matrix.molecule_distro == 'almalinux8'
8788

.github/workflows/ssh_hardening_custom_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: |
8383
pip install "ansible-core<2.17"
8484
ansible-galaxy collection install 'community.crypto:<3.0.0'
85+
ansible-galaxy collection install 'community.general:<12.0.0'
8586
working-directory: ansible_collections/devsec/hardening
8687
if: matrix.molecule_distro == 'rocky8' || matrix.molecule_distro == 'almalinux8'
8788

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tags:
2828
dependencies:
2929
ansible.posix: '>=1.0.0'
3030
community.crypto: '>=1.0.0'
31-
community.general: '>=1.0.0'
31+
community.general: '>=1.0.0,<12.0.0'
3232
community.mysql: '>=1.3.0'
3333
repository: 'https://github.com/dev-sec/ansible-collection-hardening/'
3434
homepage: 'https://dev-sec.io/'

0 commit comments

Comments
 (0)