Exemple #1
0
def run_job(pb_path,**kwargs):
    api = AnsibleApi(pb_path, **kwargs)
    api.run()
Exemple #2
0
def run_adhoc(**kwargs):
    module_name = kwargs.get('module_name', '')

    pb_path = playbook_module_replace(module_name)
    api = AnsibleApi(pb_path, **kwargs)
    api.run()