credentials, entry.getKey().getRoles(), templateNodes
);
allInstances.addAll(templateInstances);
for (final Instance instance : templateInstances) {
final Statement statement = statementBuilder.build(clusterSpec, instance);
futures.add(executorService.submit(new Callable<Void>() {
@Override
public Void call() throws Exception {
LOG.info("Running script on: {}", instance.getId());