Fix bug which caused teardown tasks to always run when using win_transfer tag

This commit is contained in:
abrown38 committed 2024-06-04 15:30:45 +01:00
1 parent 089ac5fac3
commit c85c3232cc
2 files changed
+2 -5

No files matched your search

+1 -2
View File
@@ -1,3 +1,2 @@
---
- import_tasks: mount.yml
- import_tasks: teardown.yml
- import_tasks: "{{ mount_action | default('mount') }}.yml"
@@ -1,8 +1,6 @@
---
- name: Unmount Filesystem
tags:
- teardown
- never
tags: teardown
block:
- name: Unmount filesystem on os-transfer
ansible.posix.mount: