diff --git a/playbooks/pistorage.yml b/playbooks/pistorage.yml index e5a5a34..5824d3e 100755 --- a/playbooks/pistorage.yml +++ b/playbooks/pistorage.yml @@ -5,7 +5,7 @@ - hosts: pistorage tasks: - name: assure mount directory - file: path=/data state=directory + file: path=/data state=directory mode=0755 tags: [ pis, storage ] - name: assure mount mount: path=/data src=LABEL=mass state=mounted fstype=ext4 @@ -13,7 +13,7 @@ - hosts: pi-storage-1.desu.ltd tasks: - name: assure directories in mount - file: path=/data/{{ item }} state=directory + file: path=/data/{{ item }} state=directory mode=0755 with_items: - nfs - postgresql