fix trace-creating error in apt module - also make the default setting actualy work
This commit is contained in:
parent
d6d59d8976
commit
b69ae999ce
1 changed files with 1 additions and 1 deletions
2
apt
2
apt
|
@ -164,7 +164,7 @@ def main():
|
|||
install(module, p['package'], cache, default_release=p['default_release'],
|
||||
install_recommends=install_recommends,force=force_yes)
|
||||
elif p['state'] == 'removed':
|
||||
remove(module, p['package'], cache, purge == 'yes')
|
||||
remove(module, p['package'], cache, purge = p['purge'])
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
|
|
Loading…
Reference in a new issue