enable ansible module; fix minor bugs; add license into every source file