com.github.woostju.ansible.command.PingCommand Maven / Gradle / Ivy
package com.github.woostju.ansible.command;
import java.util.List;
import com.github.woostju.ansible.Module;
/**
* Try to connect to host, verify a usable python and return pong on success
* Get more information from ping module.
* @author jameswu
*
*/
public class PingCommand extends Command{
/**
*
* @param hosts target hosts
*/
public PingCommand(List hosts) {
this(hosts, null, null);
}
public PingCommand(List hosts, List moduleArgs, List options) {
super(hosts, Module.ping.toString(), moduleArgs, options);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy