forked from evolix/ansible-roles
whitespaces
This commit is contained in:
parent
5c3b375b25
commit
28954e634c
|
@ -4,6 +4,8 @@
|
||||||
apt:
|
apt:
|
||||||
name: log2mail
|
name: log2mail
|
||||||
state: present
|
state: present
|
||||||
|
tags:
|
||||||
|
- apache
|
||||||
|
|
||||||
- name: Add log2mail config for Apache segfaults
|
- name: Add log2mail config for Apache segfaults
|
||||||
template:
|
template:
|
||||||
|
@ -13,3 +15,5 @@
|
||||||
group: adm
|
group: adm
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
force: no
|
force: no
|
||||||
|
tags:
|
||||||
|
- apache
|
||||||
|
|
|
@ -75,6 +75,8 @@
|
||||||
dest: /etc/apache2/mods-enabled/status.conf
|
dest: /etc/apache2/mods-enabled/status.conf
|
||||||
state: absent
|
state: absent
|
||||||
notify: reload apache
|
notify: reload apache
|
||||||
|
tags:
|
||||||
|
- apache
|
||||||
|
|
||||||
- name: Ensure Apache config files are enabled
|
- name: Ensure Apache config files are enabled
|
||||||
command: "a2enconf {{ item }}"
|
command: "a2enconf {{ item }}"
|
||||||
|
@ -88,6 +90,8 @@
|
||||||
- apache
|
- apache
|
||||||
|
|
||||||
- include: auth.yml
|
- include: auth.yml
|
||||||
|
tags:
|
||||||
|
- apache
|
||||||
|
|
||||||
- name: default vhost is installed
|
- name: default vhost is installed
|
||||||
template:
|
template:
|
||||||
|
@ -142,9 +146,15 @@
|
||||||
dest: /usr/share/scripts/save_apache_status.sh
|
dest: /usr/share/scripts/save_apache_status.sh
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
force: no
|
force: no
|
||||||
|
tags:
|
||||||
|
- apache
|
||||||
|
|
||||||
- include: log2mail.yml
|
- include: log2mail.yml
|
||||||
when: apache_log2mail_include
|
when: apache_log2mail_include
|
||||||
|
tags:
|
||||||
|
- apache
|
||||||
|
|
||||||
- include: munin.yml
|
- include: munin.yml
|
||||||
when: apache_munin_include
|
when: apache_munin_include
|
||||||
|
tags:
|
||||||
|
- apache
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: logrotate configuration
|
- name: logrotate configuration
|
||||||
copy:
|
copy:
|
||||||
src: logrotate_nginx
|
src: logrotate_nginx
|
||||||
dest: /etc/logrotate.d/nginx
|
dest: /etc/logrotate.d/nginx
|
||||||
force: no
|
force: no
|
||||||
|
tags:
|
||||||
|
- nginx
|
||||||
|
- logrotate
|
||||||
|
|
Loading…
Reference in a new issue