All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.woostju.ansible.command.CmdCommand Maven / Gradle / Ivy

There is a newer version: 1.0.0-RELEASE
Show newest version
package com.github.woostju.ansible.command;

import java.util.List;

import org.assertj.core.util.Lists;
import com.github.woostju.ansible.Module;

/**
 * 
 * The command will be executed on hosts.
 * 

Get more information from command module * @author jameswu * */ public class CmdCommand extends Command{ public CmdCommand(List hosts, List moduleArgs,List options) { super(hosts, Module.command.toString(), moduleArgs, options); } /** * Execute commands on targets * @param hosts target hosts * @param command The command to run. */ public CmdCommand(List hosts, String command) { this(hosts, Lists.newArrayList(command), null); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy