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

@ -218,7 +218,7 @@ class Task(Base, Conditional, Taggable, Become):
if action == 'include' and k not in self._valid_attrs and k not in self.DEPRECATED_ATTRIBUTES:
display.deprecated("Specifying include variables at the top-level of the task is deprecated."
" Please see:\nhttp://docs.ansible.com/ansible/playbooks_roles.html#task-include-files-and-encouraging-reuse\n\n"
" for currently supported syntax regarding included files and variables")
" for currently supported syntax regarding included files and variables", version="2.7")
new_ds['vars'][k] = v
else:
new_ds[k] = v