From ca2684c71145f6198c22b0d3cdc4668cfcd02df7 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Dec 06 2021 22:05:14 +0000 Subject: openQA: fix stupid semodule argument gah. Signed-off-by: Adam Williamson --- diff --git a/roles/openqa/worker/tasks/swtpm-teardown.yml b/roles/openqa/worker/tasks/swtpm-teardown.yml index 5cadc3d..e6f139c 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