with_items silly
This commit is contained in:
parent
0707acc995
commit
744634880e
1 changed files with 7 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue