-'If yes, performs an aptitude safe-upgrade. If dist, performs an apt-get dist-upgrade. Note: This does not upgrade a specific package, use state=latest for that.'
-'If yes or safe, performs an aptitude safe-upgrade.'
-'If full, performs an aptitude full-upgrade.'
-'If dist, performs an apt-get dist-upgrade.'
-'Note: This does not upgrade a specific package, use state=latest for that.'
version_added:"1.1"
required:false
default:no
choices:["yes","dist"]
default:"yes"
choices:["yes","safe","full","dist"]
author:MatthewWilliams
notes:[]
examples:
...
...
@@ -102,8 +105,12 @@ import warnings
warnings.filterwarnings('ignore', "apt API not stable yet", FutureWarning)