From 2301ec37c2cd30a6b14b3bede2e952ce448903c2 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 1 Sep 2020 17:49:25 +0200 Subject: [PATCH] Fix the tasks that create directories. --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}'