Since many Java apps (SonarQube, Jenkins, ES, et all) like to take 5-10 seconds on first boot, I like to make sure they're responding before moving forward in my playbooks.
Recently while Modernizing my ELK example I noticed that ES wasn't running by the time Logstash was installed, so Logstash bailed when it started due to ES not being available.
Since many Java apps (SonarQube, Jenkins, ES, et all) like to take 5-10 seconds on first boot, I like to make sure they're responding before moving forward in my playbooks.
Recently while Modernizing my ELK example I noticed that ES wasn't running by the time Logstash was installed, so Logstash bailed when it started due to ES not being available.