mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00: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:
committed by
Brian Coca
parent
7034d8c47a
commit
d2969884b4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user