refactoring: fix quotes, use handlers, set_fact