Commit c3ad9cab by John Jarvis

logrotate is not a service

Conflicts:
	playbooks/roles/common/handlers/main.yml
parent c9be4974
--- ---
- name: common | restart rsyslogd - name: common | restart rsyslogd
service: name=rsyslog state=restarted service: name=rsyslog state=restarted
sudo: True
- name: common | restart logrotate
service: name=logrotate state=restarted
...@@ -67,14 +67,12 @@ ...@@ -67,14 +67,12 @@
- name: nginx | Set up nginx access log rotation - name: nginx | Set up nginx access log rotation
template: dest=/etc/logrotate.d/nginx-access src=edx_logrotate_nginx_access.j2 owner=root group=root mode=644 template: dest=/etc/logrotate.d/nginx-access src=edx_logrotate_nginx_access.j2 owner=root group=root mode=644
notify: common | restart logrotate
tags: tags:
- logging - logging
- update - update
- name: nginx | Set up nginx access log rotation - name: nginx | Set up nginx access log rotation
template: dest=/etc/logrotate.d/nginx-error src=edx_logrotate_nginx_error.j2 owner=root group=root mode=644 template: dest=/etc/logrotate.d/nginx-error src=edx_logrotate_nginx_error.j2 owner=root group=root mode=644
notify: common | restart logrotate
tags: tags:
- logging - logging
- update - update
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment