示例#1
0
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())
示例#2
0
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())