remove a role definition on hostname which no longer exists. allow awstats to run possibly

This commit is contained in:
Stephen Smoogen 2020-07-02 14:28:24 -04:00
parent 184f33b98a
commit 2475c00e01

View file

@ -7,20 +7,17 @@
- name: make the awstats directory - name: make the awstats directory
file: path=/var/www/html/awstats-reports state=directory file: path=/var/www/html/awstats-reports state=directory
when: inventory_hostname.startswith('data-analysis')
tags: tags:
- awstats - awstats
- name: awstats proxy merge script (log01) - name: awstats proxy merge script (log01)
copy: src=combineHttpLogs.sh dest=/usr/local/bin/ mode=0755 copy: src=combineHttpLogs.sh dest=/usr/local/bin/ mode=0755
when: inventory_hostname.startswith('log')
tags: tags:
- config - config
- awstats - awstats
- name: awstats daily cron job to merge old logs - name: awstats daily cron job to merge old logs
copy: src=combineHttp.cron dest=/etc/cron.d/ mode=0644 copy: src=combineHttp.cron dest=/etc/cron.d/ mode=0644
when: inventory_hostname.startswith('log')
tags: tags:
- cron - cron
- awstats - awstats