mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue