Hi Alistair,
Do you have the steps that led to the host role being in an invalid state?
The cache folder should contain all of the stacks, this is because HDP 2.2 inherits from 2.1, which in turn inherits from 2.0.6.
Thanks,
Alejandro Fernandez
Apache Ambari PMC