openQA: Drop already-done step from swtpm-teardown

This is just cleaning up the mess of the bad parameter from
earlier, run of this play broke halfway through, need to do the
remaining half without choking on this part.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-12-06 14:12:43 -08:00
parent ca2684c711
commit 7a5d7f59fb

View file

@ -1,8 +1,3 @@
- name: Stop and disable swtpm services
service: name=openqa-swtpm@{{ item }} enabled=no state=stopped
loop: "{{ range(1, openqa_workers + 1)|list }}"
when: "deployment_type is defined and deployment_type == 'prod'"
- name: Remove openqa-swtpm service file
file: path=/etc/systemd/system/openqa-swtpm@.service state=absent