diff --git a/tests/tests_default_reboot.yml b/tests/tests_default_reboot.yml index 7348adac..a578b36d 100644 --- a/tests/tests_default_reboot.yml +++ b/tests/tests_default_reboot.yml @@ -81,6 +81,9 @@ include_role: name: linux-system-roles.kdump + - name: Notify and run handlers again + meta: flush_handlers + - name: Check for crashkernel, grubby settings again when: is_el9 or is_el7_or_el8 block: diff --git a/tests/tests_ssh.yml b/tests/tests_ssh.yml index cacce3ac..cf304fe7 100644 --- a/tests/tests_ssh.yml +++ b/tests/tests_ssh.yml @@ -94,6 +94,9 @@ ansible_failed_result.msg - kdump_reboot_required | bool + - name: Notify and run handlers + meta: flush_handlers + - name: Cleanup kdump_path file: path: "{{ kdump_path }}" diff --git a/tests/tests_ssh_reboot.yml b/tests/tests_ssh_reboot.yml index 4a5ca968..6c1d3b70 100644 --- a/tests/tests_ssh_reboot.yml +++ b/tests/tests_ssh_reboot.yml @@ -140,6 +140,9 @@ include_role: name: linux-system-roles.kdump + - name: Notify and run handlers again + meta: flush_handlers + - name: Get the authorized_keys contents after slurp: src: "{{ __authorized_keys_file.stat.path }}"