mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
added versions to dep notices (#24019)
* added versions to dep notices * pep7 * string
This commit is contained in:
parent
6845234d72
commit
31045d58c6
8 changed files with 13 additions and 10 deletions
|
@ -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[:]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue