I read on the changelog for 2.4:
New import/include keywords to replace the old bare
include
directives. The use ofstatic: {yes|no}
on such includes is now deprecated.
- Using
import_*
(import_playbook
,import_tasks
,import_role
) directives are static.- Using
include_*
(include_tasks
,include_role
) directives are dynamic.
Can someone provide a use case where the one would benefit the other?