and we dont create directoires by hand

This commit is contained in:
Stephen Smoogen 2016-05-04 22:12:13 +00:00
parent cc78cd2cd9
commit 63a1b4af95

View file

@ -4,12 +4,23 @@
tags:
- web-data
- name: make the data directory.
file: path=/mnt/fedora_stats/data state directory mode=0755
tags:
- web-data
- name: make the data subdirs
file: path=/mnt/fedora_stats/data/{{item}} state=directory mode=0755
with_items: [getfedora, hotspot, mirrors, start]
tags:
- web-data
- name: make the web directory exists
file: path=/var/www/html/csv-reports/ state=directory mode=0755
tags:
- web-data
- name: make the subdirs
- name: make the web subdirs
file: path=/var/www/html/csv-reports/{{item}} state=directory mode=0755
with_items: [images, getfedora, hotspot, mirrors, start]
tags: