mae sure the html direcotrty exists

This commit is contained in:
Stephen Smoogen 2016-05-04 17:17:25 +00:00
parent 6c334b7b10
commit 011bd449ea
2 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,11 @@
- packages
- awstats
- name: make the awstats directory
file: path=/var/www/html/awstats-reports state=directory
tags:
- awstats
- name: awstats proxy merge script (log01)
copy: src=combineHttpLogs.sh dest=/usr/local/bin/ mode=0755
when: inventory_hostname.startswith('log01')

View file

@ -4,6 +4,11 @@
tags:
- web-data
- name: make the web directory exists
file: path=/var/www/html/csv-reports/ state=directory
tags:
- web-data
- name: script to run the daily mirror log condenser
copy: src=condense-mirrorlogs.cron dest=/usr/local/bin/ mode=0755
tags: