|
|
@ -264,8 +264,10 @@ def main():
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
module.fail_json(msg="Could not import python modules: apt, apt_pkg. Please install python-apt package.")
|
|
|
|
module.fail_json(msg="Could not import python modules: apt, apt_pkg. Please install python-apt package.")
|
|
|
|
|
|
|
|
|
|
|
|
global APTITUDE_CMD = module.get_bin_path("aptitude", False)
|
|
|
|
global APTITUDE_CMD
|
|
|
|
global APT_GET_CMD = module.get_bin_path("apt-get")
|
|
|
|
APTITUDE_CMD = module.get_bin_path("aptitude", False)
|
|
|
|
|
|
|
|
global APT_GET_CMD
|
|
|
|
|
|
|
|
APT_GET_CMD = module.get_bin_path("apt-get")
|
|
|
|
|
|
|
|
|
|
|
|
p = module.params
|
|
|
|
p = module.params
|
|
|
|
install_recommends = p['install_recommends']
|
|
|
|
install_recommends = p['install_recommends']
|
|
|
|