@@ -0,0 +1,1918 @@
+%22%22%22 Ansible module.%0A%0AAnsible is an IT automation tool. It can configure systems, deploy software,%0Aand orchestrate more advanced IT tasks such as continuous deployments or zero%0Adowntime rolling updates.%0A%0AWebsite: http://ansible.com%0A%22%22%22%0Aimport os%0A%0Adef ansible(loader, project=None, variant=None, *args):%0A    %22%22%22 Server provisioning.%0A    %22%22%22%0A    loader.setup_virtualenv()%0A%0A    project, variant = loader.setup_project_env(project, variant)%0A%0A    config = loader.config.get('configuration', %7B%7D)%0A    config = config.get(variant, %7B%7D)%0A    config = config.get(project, %7B%7D)%0A%0A    loader.setup_shell_env(config.get('shell_env', %7B%7D))%0A%0A    work_dir = config.get('work_dir', project)%0A    work_dir = loader.expand_path(work_dir)%0A%0A    binargs = loader.get_binargs('ansible')%0A%0A    inventory = config.get('ansible.inventory')%0A    if inventory:%0A        binargs.append('-i')%0A        binargs.append(loader.expand_path(inventory))%0A%0A    binargs += list(args)%0A%0A    os.chdir(work_dir)%0A    os.execvp(binargs%5B0%5D, binargs)%0A%0A%0Adef ansible_playbook(loader, project=None, variant=None, *args):%0A    %22%22%22 Server provisioning.%0A    %22%22%22%0A    loader.setup_virtualenv()%0A%0A    project, variant = loader.setup_project_env(project, variant)%0A%0A    config = loader.config.get('configuration', %7B%7D)%0A    config = config.get(variant, %7B%7D)%0A    config = config.get(project, %7B%7D)%0A%0A    loader.setup_shell_env(config.get('shell_env', %7B%7D))%0A%0A    work_dir = config.get('work_dir', project)%0A    work_dir = loader.expand_path(work_dir)%0A%0A    binargs = loader.get_binargs('ansible-playbook')%0A%0A    inventory = config.get('ansible.inventory')%0A    if inventory:%0A        binargs.append('-i')%0A        binargs.append(loader.expand_path(inventory))%0A%0A    playbook = config.get('ansible.playbook')%0A    if playbook:%0A        binargs.append(loader.expand_path(playbook))%0A%0A    binargs += list(args)%0A%0A    os.chdir(work_dir)%0A    os.execvp(binargs%5B0%5D, binargs)%0A%0A%0Acommands = (ansible, ansible_playbook)%0A

add ansible module