Merge awstats role into web-data-analysis
This is to enable running the syncing and combining scripts in series rather than from independently scheduled cron jobs. Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
d7f5be0ebb
commit
a766ec6416
6 changed files with 23 additions and 32 deletions
|
@ -21,7 +21,6 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- collectd/server
|
- collectd/server
|
||||||
- sudo
|
- sudo
|
||||||
- awstats
|
|
||||||
- web-data-analysis
|
- web-data-analysis
|
||||||
- role: keytab/service
|
- role: keytab/service
|
||||||
owner_user: apache
|
owner_user: apache
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
---
|
|
||||||
- name: install awstats package
|
|
||||||
package: state=present name=awstats
|
|
||||||
tags:
|
|
||||||
- packages
|
|
||||||
- awstats
|
|
||||||
|
|
||||||
- name: make the awstats directory
|
|
||||||
file: path=/var/www/html/awstats-reports state=directory
|
|
||||||
tags:
|
|
||||||
- awstats
|
|
||||||
|
|
||||||
- name: ensure messaging script is installed
|
|
||||||
import_role: name=fedora-messaging-utils
|
|
||||||
tags:
|
|
||||||
- awstats
|
|
||||||
|
|
||||||
- name: awstats proxy merge script (log01)
|
|
||||||
copy: src=combineHttpLogs.sh dest=/usr/local/bin/ mode=0755
|
|
||||||
tags:
|
|
||||||
- config
|
|
||||||
- awstats
|
|
||||||
|
|
||||||
- name: awstats daily cron job to merge old logs
|
|
||||||
copy: src=combineHttp.cron dest=/etc/cron.d/ mode=0644
|
|
||||||
tags:
|
|
||||||
- cron
|
|
||||||
- awstats
|
|
||||||
|
|
||||||
#- name: set up http configs for awstats on dataserver
|
|
||||||
|
|
|
@ -184,3 +184,26 @@
|
||||||
tags:
|
tags:
|
||||||
- web-data
|
- web-data
|
||||||
- cron
|
- cron
|
||||||
|
|
||||||
|
- name: install awstats package
|
||||||
|
package: state=present name=awstats
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- web-data
|
||||||
|
|
||||||
|
- name: make the awstats directory
|
||||||
|
file: path=/var/www/html/awstats-reports state=directory
|
||||||
|
tags:
|
||||||
|
- web-data
|
||||||
|
|
||||||
|
- name: proxy log merge script (log01)
|
||||||
|
copy: src=combineHttpLogs.sh dest=/usr/local/bin/ mode=0755
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
- web-data
|
||||||
|
|
||||||
|
- name: daily cron job to merge old logs
|
||||||
|
copy: src=combineHttp.cron dest=/etc/cron.d/ mode=0644
|
||||||
|
tags:
|
||||||
|
- cron
|
||||||
|
- web-data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue