def module_disabled(module):
 disable_module(module)
 reload_service('apache2')

def module_disabled ( module ) : disable_module ( module ) reload_service ( 'apache2' )
require an apache module to be disabled .