Closed burner1024 closed 1 year ago
Well, if you do a dry run nothing is changed, so the tempdir isn't created and doesn't exist later.
As intended: you told ansible not to do anything to your target system.
This is more of a cosmetic issue, I'd say. And I tend to think that it's not worth programming a beautiful workaround for this test-case.
Sure, one could add when-clauses for the test-case and a more explicit explanation. PRs welcome, if you really need this.
Dry run fails: