QENG-1224 Modify to take array of hosts rather than just a single host a...

...s an argument
`host` is an input parameter to this method. Please choose a different name for the host variable inside this block.