class FreeIpaCleanupService {

    public void cleanup(Stack stack) {
        Set<String> hostNames = instanceMetadataProcessor.extractFqdn(stack);
        Set<String> ips = instanceMetadataProcessor.extractIps(stack);
        LOGGER.info("Full cleanup invoked with hostnames {} and IPs {}", hostNames, ips);
        cleanup(stack, Set.of(), hostNames, ips);
    }

}