added versions to dep notices (#24019)

* added versions to dep notices

* pep7

* string
This commit is contained in:
Brian Coca 2017-04-27 12:48:31 -04:00 committed by GitHub
parent 6845234d72
commit 31045d58c6
8 changed files with 13 additions and 10 deletions

View file

@ -214,7 +214,7 @@ def load_list_of_tasks(ds, play, block=None, role=None, task_include=None, use_h
"later. In the future, this will be an error unless 'static: no' is used " \
"on the include task. If you do not want missing includes to be considered " \
"dynamic, use 'static: yes' on the include or set the global ansible.cfg " \
"options to make all inclues static for tasks and/or handlers" % include_file,
"options to make all inclues static for tasks and/or handlers" % include_file, version="2.7"
)
task_list.append(t)
continue
@ -247,7 +247,8 @@ def load_list_of_tasks(ds, play, block=None, role=None, task_include=None, use_h
obj=task_ds,
suppress_extended_error=True,
)
display.deprecated("You should not specify tags in the include parameters. All tags should be specified using the task-level option")
display.deprecated("You should not specify tags in the include parameters. All tags should be specified using the task-level option",
version="2.7")
else:
tags = ti_copy.tags[:]