with_items silly

This commit is contained in:
Stephen Smoogen 2016-05-04 19:57:48 +00:00
parent 0707acc995
commit 744634880e

View file

@ -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: