Add support for placeholders in hosts