and we dont create directoires by hand
This commit is contained in:
parent
cc78cd2cd9
commit
63a1b4af95
1 changed files with 12 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue