diff --git a/tasks/main.yml b/tasks/main.yml index b3a86a1..58b0be3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 }}'