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
-
I've just observed that using
import_tasks
with awhen
causes the first imported task to have itswhen
overwritten, 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_tasks
instead.Beta Was this translation helpful? Give feedback.
All reactions