Fix the tasks that create directories.

This commit is contained in:
Andrea Dell'Amico 2020-09-01 17:49:25 +02:00
parent 1c2838596f
commit 2301ec37c2
1 changed files with 2 additions and 2 deletions

View File

@ -22,10 +22,10 @@
user: name={{ polynote_service_user }} home={{ polynote_data_basedir }} createhome=no shell=/usr/sbin/nologin system=yes
- name: Create the polynote base directory
file: dest={{ polynote_data_basedir }} owner=root group=root mode='0755'
file: dest={{ polynote_data_basedir }} owner=root group=root mode='0755' state=directory
- name: Create the polynote data directories
file: dest={{ item }} owner={{ polynote_service_user }} group={{ polynote_service_user }} mode='0750'
file: dest={{ item }} owner={{ polynote_service_user }} group={{ polynote_service_user }} mode='0750' state=directory
with_items:
- '{{ polynote_storage_location }}'
- '{{ polynote_cache_dir }}'