always_run: removed deprecated always_run task option (#40470)

This commit is contained in:
Jordan Borean 2018-05-23 07:10:36 +10:00 committed by GitHub
parent 7145dd05b6
commit 070a5557d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 6 additions and 14 deletions

View file

@ -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