mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 13:21:25 -07:00
Add run_once as a valid TaskInclude keyword (#48068)
* Add run_once as a valid TaskInclude keyword * Add changelog fragment * Add integration test that documents run_once behavior
This commit is contained in:
parent
7034d8c47a
commit
d2969884b4
5 changed files with 70 additions and 1 deletions
|
@ -45,7 +45,8 @@ class TaskInclude(Task):
|
|||
OTHER_ARGS = frozenset(('apply',)) # assigned to matching property
|
||||
VALID_ARGS = BASE.union(OTHER_ARGS) # all valid args
|
||||
VALID_INCLUDE_KEYWORDS = frozenset(('action', 'args', 'debugger', 'ignore_errors', 'loop', 'loop_control',
|
||||
'loop_with', 'name', 'no_log', 'register', 'tags', 'vars', 'when'))
|
||||
'loop_with', 'name', 'no_log', 'register', 'run_once', 'tags', 'vars',
|
||||
'when'))
|
||||
|
||||
# =================================================================================
|
||||
# ATTRIBUTES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue