public class AnsibleWorker extends Object
Constructor and Description |
---|
AnsibleWorker(File root) |
Modifier and Type | Method and Description |
---|---|
void |
addRole(Role r) |
void |
destroy()
Destroy the worker:
- remove the working dir
|
void |
ensureWorkStructure() |
int |
execute(PrintStream ps) |
File |
getInventoryFile() |
File |
getPlaybookFile() |
File |
getRolesDir() |
File |
getWorkdir() |
String |
getWorkerId() |
void |
removeWorkStructure() |
void |
setInventory(Inventory inventory) |
void |
setPlaybook(Playbook playbook) |
public AnsibleWorker(File root)
public File getWorkdir()
public File getRolesDir()
public String getWorkerId()
public void ensureWorkStructure()
public void removeWorkStructure()
public File getPlaybookFile()
public File getInventoryFile()
public void setInventory(Inventory inventory) throws IOException
IOException
public void setPlaybook(Playbook playbook) throws IOException
IOException
public void addRole(Role r) throws IOException
IOException
public int execute(PrintStream ps) throws IOException, InterruptedException, org.tmatesoft.svn.core.SVNException
IOException
InterruptedException
org.tmatesoft.svn.core.SVNException
public void destroy()
Copyright © 2017. All Rights Reserved.