Skip to content

Commit 6cba622

Browse files
authored
Merge pull request #882 from dev-sec/fix_rocky8
Downgrade community.crypto for rocky8
2 parents 9ebc603 + ec76038 commit 6cba622

File tree

6 files changed

+16
-5
lines changed

6 files changed

+16
-5
lines changed

.github/workflows/mysql_hardening.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ jobs:
6767
working-directory: ansible_collections/devsec/hardening
6868

6969
- name: Downgrade Ansible for Rocky 8 tests
70-
run: pip install "ansible-core<2.17"
70+
run: |
71+
pip install "ansible-core<2.17"
72+
ansible-galaxy collection install 'community.crypto:<3.0.0'
7173
working-directory: ansible_collections/devsec/hardening
7274
if: matrix.molecule_distro == 'rocky8'
7375

.github/workflows/nginx_hardening.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ jobs:
6666
working-directory: ansible_collections/devsec/hardening
6767

6868
- name: Downgrade Ansible for Rocky 8 tests
69-
run: pip install "ansible-core<2.17"
69+
run: |
70+
pip install "ansible-core<2.17"
71+
ansible-galaxy collection install 'community.crypto:<3.0.0'
7072
working-directory: ansible_collections/devsec/hardening
7173
if: matrix.molecule_distro == 'rocky8'
7274

.github/workflows/os_hardening.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ jobs:
7171
working-directory: ansible_collections/devsec/hardening
7272

7373
- name: Downgrade Ansible for Rocky 8 tests
74-
run: pip install "ansible-core<2.17"
74+
run: |
75+
pip install "ansible-core<2.17"
76+
ansible-galaxy collection install 'community.crypto:<3.0.0'
7577
working-directory: ansible_collections/devsec/hardening
7678
if: matrix.molecule_distro == 'rocky8'
7779

.github/workflows/os_hardening_vm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
run: |
6868
source ~/.venv/ansible-collection-hardening/bin/activate
6969
pip install "ansible-core<2.17"
70+
ansible-galaxy collection install 'community.crypto:<3.0.0'
7071
working-directory: ansible_collections/devsec/hardening
7172
if: matrix.molecule_distro == 'generic/rocky8' || matrix.molecule_distro == 'generic/opensuse15'
7273

.github/workflows/ssh_hardening.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ jobs:
7474
working-directory: ansible_collections/devsec/hardening
7575

7676
- name: Downgrade Ansible for Rocky 8 tests
77-
run: pip install "ansible-core<2.17"
77+
run: |
78+
pip install "ansible-core<2.17"
79+
ansible-galaxy collection install 'community.crypto:<3.0.0'
7880
working-directory: ansible_collections/devsec/hardening
7981
if: matrix.molecule_distro == 'rocky8'
8082

.github/workflows/ssh_hardening_custom_tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ jobs:
7474
working-directory: ansible_collections/devsec/hardening
7575

7676
- name: Downgrade Ansible for Rocky 8 tests
77-
run: pip install "ansible-core<2.17"
77+
run: |
78+
pip install "ansible-core<2.17"
79+
ansible-galaxy collection install 'community.crypto:<3.0.0'
7880
working-directory: ansible_collections/devsec/hardening
7981
if: matrix.molecule_distro == 'rocky8'
8082

0 commit comments

Comments
 (0)