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))
def load_playbook(file_name): global _play_registry _play_registry.load_playbook( playbook.load_from_file(PLAYBOOKS_DIR + '/' + file_name))
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))
def load_playbook(file_name): global _play_registry _play_registry.load_playbook(playbook.load_from_file(PLAYBOOKS_DIR + "/" + file_name))