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() |
String |
getWorkerId() |
void |
removeWorkStructure() |
void |
setInventory(Inventory inventory) |
void |
setPlaybook(Playbook playbook) |
public AnsibleWorker(File root)
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
IOExceptionpublic void setPlaybook(Playbook playbook) throws IOException
IOExceptionpublic void addRole(Role r) throws IOException
IOExceptionpublic int execute(PrintStream ps) throws IOException, InterruptedException, org.tmatesoft.svn.core.SVNException
IOExceptionInterruptedExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void destroy()
Copyright © 2019. All Rights Reserved.