From ef7acfc44f95f0ee299988183098003a7356c4a1 Mon Sep 17 00:00:00 2001 From: Christopher Palmer-Richez Date: Tue, 3 Sep 2024 12:38:57 -0400 Subject: [PATCH] Fix invalid registration of role output. --- tests/integration/targets/role_mok/tasks/main.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/integration/targets/role_mok/tasks/main.yml b/tests/integration/targets/role_mok/tasks/main.yml index d223dc1..89905d0 100644 --- a/tests/integration/targets/role_mok/tasks/main.yml +++ b/tests/integration/targets/role_mok/tasks/main.yml @@ -12,13 +12,6 @@ - name: Include the full role include_role: - name: mok - register: role_output - -- name: Ensure the role reports a change - ansible.builtin.meta: - command: noop - changed_when: false - failed_when: role_output.changed is False - name: Check the validity of the private key check_mode: true @@ -54,9 +47,3 @@ changed_when: false failed_when: - mok_check.stdout is not ansible.builtin.match(mok_enrolled_regex) - -- name: Run the role again and look for no changes - include_role: - - name: mok - register: rerun_output - failed_when: rerun_output is changed