@Handler
public void doOperation() throws OpsException {
OpsTarget target = OpsContext.get().getInstance(OpsTarget.class);
Map<String, Group> groups = PosixGroupManagement.getGroups(target);
Group group = groups.get(groupName);
if (group == null) {
target.executeCommand("groupadd {0}", groupName);
}
}