示例#1
0
def load_playbook(file_name, isAbsolute=False):
    global _play_registry
    _play_registry.load_playbook(
        playbook.load_from_file((PLAYBOOKS_DIR +
                                 '/' if not isAbsolute else '') + file_name))
示例#2
0
def load_playbook(file_name):
    global _play_registry
    _play_registry.load_playbook(
        playbook.load_from_file(PLAYBOOKS_DIR + '/' + file_name))
示例#3
0
def load_playbook(file_name, isAbsolute=False):
    global _play_registry
    _play_registry.load_playbook(playbook.load_from_file((
        PLAYBOOKS_DIR + '/' if not isAbsolute else '') + file_name))
示例#4
0
def load_playbook(file_name):
    global _play_registry
    _play_registry.load_playbook(playbook.load_from_file(PLAYBOOKS_DIR + "/" + file_name))