From 2e9e90b9a862fee3a47ad211b712171497f13e97 Mon Sep 17 00:00:00 2001 From: Daniel Mellado Date: Tue, 20 Feb 2018 12:17:55 +0100 Subject: [PATCH] Fix RedHat entry in apache_config_path With CentOS 7, ansible is expecting to have RedHat as an attribute for the dict so Discover configurations task fails with an undefined variable error. Closes-Bug: #1750573 Change-Id: I5bf9c4057ca9f75d730add9e429d0ef050c6d900 --- roles/apache-logs-conf/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/apache-logs-conf/tasks/main.yaml b/roles/apache-logs-conf/tasks/main.yaml index 60b4fbfead..339ee358be 100644 --- a/roles/apache-logs-conf/tasks/main.yaml +++ b/roles/apache-logs-conf/tasks/main.yaml @@ -57,7 +57,7 @@ apache_config_paths: 'Debian': '/etc/apache2/sites-enabled/' 'Suse': '/etc/apache2/conf.d/' - 'Redhat': '/etc/httpd/conf.d/' + 'RedHat': '/etc/httpd/conf.d/' - name: Discover configurations find: