mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 22:30:04 -07:00
Allow using action/local_action on includes and imports (#37260)
* Prevent using action/local_action on includes and imports. Fixes #28822 * Use ModuleArgsParser to determine action instead of disallowing action/local_action with import/include * Add to_native * switch back to block in task_ds, use ModuleArgsParse otherwise * var should be task_ds * Add test validating action+include_tasks
This commit is contained in:
parent
dddcbb7198
commit
3d5a7d6dc2
2 changed files with 24 additions and 8 deletions
|
@ -39,3 +39,6 @@
|
|||
assert:
|
||||
that:
|
||||
- set_in_tasks4
|
||||
|
||||
- name: include_tasks + action
|
||||
action: include_tasks tasks1.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue