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
This commit is contained in:
Jonathan Rosser 2018-06-05 10:44:34 +00:00 committed by Jonathan Rosser
parent f026f8befb
commit b91b9e4852

View File

@ -29,7 +29,7 @@
tasks:
- name: Check for apache
stat:
path: /etc/apache2
path: /etc/apache2/sites-available
register: apache2
- name: Check for ceph