mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Change insertion order of apply block to not affect the include_X task itself (#44912)
This commit is contained in:
parent
2dfff57f57
commit
a0d7d4b82f
6 changed files with 50 additions and 32 deletions
|
@ -29,3 +29,17 @@
|
|||
- include_role_result is defined
|
||||
tags:
|
||||
- always
|
||||
|
||||
- include_role:
|
||||
name: include_role2
|
||||
apply:
|
||||
tags:
|
||||
- foo
|
||||
tags:
|
||||
- not_specified_on_purpose
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- include_role2_result is undefined
|
||||
tags:
|
||||
- always
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
- set_fact:
|
||||
include_role2_result: true
|
Loading…
Add table
Add a link
Reference in a new issue