Skip to content

Commit 4e5c447

Browse files
authored
fix: remove yaml callback entirely for EL8 compatibility (#918)
Signed-off-by: Norman Ziegner <[email protected]>
1 parent f6b52d5 commit 4e5c447

File tree

13 files changed

+13
-7
lines changed

13 files changed

+13
-7
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

molecule/mysql_hardening/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ provisioner:
2222
config_options:
2323
defaults:
2424
interpreter_python: auto_silent
25-
callbacks_enabled: profile_tasks, timer, yaml
25+
callbacks_enabled: profile_tasks, timer
2626
verifier:
2727
name: ansible
2828

molecule/nginx_hardening/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ provisioner:
2121
config_options:
2222
defaults:
2323
interpreter_python: auto_silent
24-
callbacks_enabled: profile_tasks, timer, yaml
24+
callbacks_enabled: profile_tasks, timer
2525
verifier:
2626
name: ansible
2727

molecule/os_hardening/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ provisioner:
1717
config_options:
1818
defaults:
1919
interpreter_python: auto_silent
20-
callbacks_enabled: profile_tasks, timer, yaml
20+
callbacks_enabled: profile_tasks, timer
2121
verifier:
2222
name: ansible
2323

molecule/os_hardening_vm/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provisioner:
2424
config_options:
2525
defaults:
2626
interpreter_python: auto_silent
27-
callbacks_enabled: profile_tasks, timer, yaml
27+
callbacks_enabled: profile_tasks, timer
2828
# Workaround for https://github.com/ansible-community/molecule-plugins/issues/301
2929
library: "${MOLECULE_PROJECT_DIRECTORY}/plugins/modules:/usr/share/ansible:${MOLECULE_VAGRANT_PLUGIN_DIR}"
3030
verifier:

0 commit comments

Comments
 (0)