diff --git a/roles/openqa/worker/tasks/swtpm-teardown.yml b/roles/openqa/worker/tasks/swtpm-teardown.yml index 5cadc3de12..e6f139c974 100644 --- a/roles/openqa/worker/tasks/swtpm-teardown.yml +++ b/roles/openqa/worker/tasks/swtpm-teardown.yml @@ -7,7 +7,7 @@ file: path=/etc/systemd/system/openqa-swtpm@.service state=absent - name: Unload custom SELinux policy - command: semodule -l systemd-swtpm + command: semodule -r systemd-swtpm - name: Remove custom SELinux policy file file: path=/usr/local/share/selinux/systemd-swtpm.pp state=absent