def save_playbook(file_name, isAbsolute=False): global _play_registry playbook.save_to_file( (PLAYBOOKS_DIR + '/' if not isAbsolute else '') + file_name, _play_registry.get_enabled_plays_paths())