mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
always_run: removed deprecated always_run task option (#40470)
This commit is contained in:
parent
7145dd05b6
commit
070a5557d1
9 changed files with 6 additions and 14 deletions
|
@ -436,11 +436,6 @@ class PlayContext(Base):
|
|||
if new_info.no_log is None:
|
||||
new_info.no_log = C.DEFAULT_NO_LOG
|
||||
|
||||
if task.always_run:
|
||||
display.deprecated("always_run is deprecated. Use check_mode = no instead.", version="2.4", removed=False)
|
||||
new_info.check_mode = False
|
||||
|
||||
# check_mode replaces always_run, overwrite always_run if both are given
|
||||
if task.check_mode is not None:
|
||||
new_info.check_mode = task.check_mode
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue