mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-26 00:16:49 +00:00
version is string and should be 2.9
This commit is contained in:
@@ -932,10 +932,10 @@ def main():
|
||||
|
||||
# Deal with deprecated aliases
|
||||
if p['state'] == 'installed':
|
||||
module.deprecate("State 'installed' is deprecated. Using state 'present' instead.", version=2.8)
|
||||
module.deprecate("State 'installed' is deprecated. Using state 'present' instead.", version="2.9")
|
||||
p['state'] = 'present'
|
||||
if p['state'] == 'removed':
|
||||
module.deprecate("State 'removed' is deprecated. Using state 'absent' instead.", version=2.8)
|
||||
module.deprecate("State 'removed' is deprecated. Using state 'absent' instead.", version="2.9")
|
||||
p['state'] = 'absent'
|
||||
|
||||
# Get the cache object
|
||||
|
||||
Reference in New Issue
Block a user