Looks fine to me, but there may have been a problem when you tried. I can’t say for sure.
PS Ambari has just gone from version 1.7 to 2.0
HDP is the collection of Open Source programs which Hortonworks have collected into version 2.2.4 (also known as HDP 2.2)
There is no Ambari 2.2 (but that wasn’t your problem)