diff --git a/roles/web-data-analysis/tasks/main.yml b/roles/web-data-analysis/tasks/main.yml index a013913fb4..b243de944a 100644 --- a/roles/web-data-analysis/tasks/main.yml +++ b/roles/web-data-analysis/tasks/main.yml @@ -5,15 +5,16 @@ - web-data - name: make the web directory exists - file: path=/var/www/html/csv-reports/ state=directory - file: path=/var/www/html/csv-reports/images state=directory - file: path=/var/www/html/csv-reports/getfedora state=directory - file: path=/var/www/html/csv-reports/hotspot state=directory - file: path=/var/www/html/csv-reports/mirrors state=directory - file: path=/var/www/html/csv-reports/start state=directory + file: path=/var/www/html/csv-reports/ state=directory mode=0755 tags: - web-data +- name: make the subdirs + file: path=/var/www/html/csv-reports/{{items}} state=directory mode=0755 + with_items: [images, getfedora, hotspot, mirrors, start] + tags: + - web-data + - name: script to run the daily mirror log condenser copy: src=condense-mirrorlogs.sh dest=/usr/local/bin/ mode=0755 tags: