#! /bin/bash # this script is meant to be run by ansible source /root/functions.sh # check that alias has been tried addHeader fileMustExist /etc/httpd/conf.d/cours.opendoor.fr.conf dirMustExist /srv/cours/www dirMustExist /srv/cours/logs pkgInstalled httpd serviceIsEnabled httpd serviceIsActive httpd okIfCurl http://localhost/status "Apache Server Status for localhost" okIfCurl http://localhost/config "strong>MPM Name"