From adcd18527355350fedb42bf9f6a172e5176cd9a3 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 9 Oct 2017 12:15:56 -0400 Subject: [PATCH] version is string and should be 2.9 --- lib/ansible/modules/packaging/os/apt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/packaging/os/apt.py b/lib/ansible/modules/packaging/os/apt.py index 0e012214ca4..78645a2c619 100644 --- a/lib/ansible/modules/packaging/os/apt.py +++ b/lib/ansible/modules/packaging/os/apt.py @@ -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