check for conditional import_tasks
#4456
Replies: 1 comment
-
|
sorry, what I thought I observed was not actually the case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've just observed that using
import_taskswith awhencauses the first imported task to have itswhenoverwritten, and all other imported tasks ignore the importwhen. This is very bad and unintuitive behavior and ansible-lint should warn me that I should useinclude_tasksinstead.Beta Was this translation helpful? Give feedback.
All reactions