mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -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
|
@ -207,7 +207,7 @@ class RoleDefinition(Base, Become, Conditional, Taggable):
|
|||
if key in ('connection', 'port', 'remote_user'):
|
||||
display.deprecated("Using '%s' as a role param has been deprecated. " % key + \
|
||||
"In the future, these values should be entered in the `vars:` " + \
|
||||
"section for roles, but for now we'll store it as both a param and an attribute.")
|
||||
"section for roles, but for now we'll store it as both a param and an attribute.", version="2.7")
|
||||
role_def[key] = value
|
||||
# this key does not match a field attribute, so it must be a role param
|
||||
role_params[key] = value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue