summaryrefslogtreecommitdiffstats
path: root/tasks/apache.yml
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2015-02-02 00:39:49 +0000
committerKevin Fenzi <kevin@scrye.com>2015-02-02 00:39:49 +0000
commita5d5bfff7f53d623739e7dce00a223abe24621c8 (patch)
treeab74eb1d5eb8a861fbd8522efc1025543569abf8 /tasks/apache.yml
parentdca00f57fa629cd957bee3eefb697a9a774ece34 (diff)
Try and make proxies not replace files twice and also fix el7 python hash hotfix.
Diffstat (limited to 'tasks/apache.yml')
-rw-r--r--tasks/apache.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/tasks/apache.yml b/tasks/apache.yml
index 208088413..1b941a98e 100644
--- a/tasks/apache.yml
+++ b/tasks/apache.yml
@@ -29,8 +29,19 @@
- hotfix
- apache
-- name: hotfix - copy over new httpd sysconfig
+- name: hotfix - copy over new httpd sysconfig (el6)
copy: src="{{ files }}/hotfix/httpd/httpd.sysconfig" dest=/etc/sysconfig/httpd
+ when: ansible_distribution_major_version == '6'
+ notify:
+ - restart apache
+ tags:
+ - config
+ - hotfix
+ - apache
+
+- name: hotfix - copy over new httpd sysconfig (el7)
+ copy: src="{{ files }}/hotfix/httpd/httpd.sysconfig" dest=/etc/sysconfig/httpd
+ when: ansible_distribution_major_version == '7'
notify:
- restart apache
tags: