From b91b9e485225bfeb5a5102ecce16ef7021a695b1 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 5 Jun 2018 10:44:34 +0000 Subject: [PATCH] Increase accuracy of detecting apache install The javascript-common package includes /etc/apache2/conf-available/javascript-common.conf so it is not sufficiuent to use the presence of the /etc/apache2 directory as an indicator of apache being installed Change-Id: Ia5c80b9842b0c9633d7ccda2837597d94d098df3 --- elk_metrics_6x/installMetricbeat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elk_metrics_6x/installMetricbeat.yml b/elk_metrics_6x/installMetricbeat.yml index e5e2a870..3c98e526 100644 --- a/elk_metrics_6x/installMetricbeat.yml +++ b/elk_metrics_6x/installMetricbeat.yml @@ -29,7 +29,7 @@ tasks: - name: Check for apache stat: - path: /etc/apache2 + path: /etc/apache2/sites-available register: apache2 - name: Check for ceph