summaryrefslogtreecommitdiffstats
path: root/roles/apache
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2015-10-11 19:31:54 +0000
committerKevin Fenzi <kevin@scrye.com>2015-10-11 19:31:54 +0000
commita71adace874c450604c276a595ad34df7e0befb2 (patch)
tree5355a88309f53b9c999dff137c549549c97f7f76 /roles/apache
parent737927b2bff9206ba4455d94d6809be966473027 (diff)
downloadansible-a71adace874c450604c276a595ad34df7e0befb2.tar.gz
ansible-a71adace874c450604c276a595ad34df7e0befb2.tar.xz
ansible-a71adace874c450604c276a595ad34df7e0befb2.zip
Use a reload instead of a restart for proxies apache.
Diffstat (limited to 'roles/apache')
-rw-r--r--roles/apache/tasks/main.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/apache/tasks/main.yml b/roles/apache/tasks/main.yml
index d8222bb7b..17c6890d2 100644
--- a/roles/apache/tasks/main.yml
+++ b/roles/apache/tasks/main.yml
@@ -13,7 +13,7 @@
service: name=httpd enabled=yes
ignore_errors: true
notify:
- - restart apache
+ - reload apache
tags:
- service
- apache
@@ -23,7 +23,7 @@
copy: src="{{ files }}/hotfix/httpd/httpd.init" dest=/etc/init.d/httpd
owner=root group=root mode=0755
notify:
- - restart apache
+ - reload apache
tags:
- config
- hotfix
@@ -33,7 +33,7 @@
copy: src="{{ files }}/hotfix/httpd/httpd.sysconfig" dest=/etc/sysconfig/httpd
when: ansible_distribution_major_version|int == 6
notify:
- - restart apache
+ - reload apache
tags:
- config
- hotfix
@@ -43,7 +43,7 @@
copy: src="{{ files }}/hotfix/httpd/httpd.sysconfig" dest=/etc/sysconfig/httpd
when: ansible_distribution_major_version|int == 7
notify:
- - restart apache
+ - reload apache
tags:
- config
- hotfix
@@ -52,7 +52,7 @@
- name: add appserver headers.conf
template: src="{{ files }}/httpd/headers.conf.j2" dest=/etc/httpd/conf.d/headers.conf
notify:
- - restart apache
+ - reload apache
tags:
- config
- apache
@@ -60,7 +60,7 @@
- name: add apache_status location for collectd
template: src="{{ files }}/httpd/apachestatus.conf" dest=/etc/httpd/conf.d/apachestatus.conf
notify:
- - restart apache
+ - reload apache
tags:
- config
- apache