found that some versions of centos have a old version of openssl that causes ambari agents to fail, also added host checking logic