Fix the tasks that create directories.
This commit is contained in:
parent
1c2838596f
commit
2301ec37c2
|
@ -22,10 +22,10 @@
|
||||||
user: name={{ polynote_service_user }} home={{ polynote_data_basedir }} createhome=no shell=/usr/sbin/nologin system=yes
|
user: name={{ polynote_service_user }} home={{ polynote_data_basedir }} createhome=no shell=/usr/sbin/nologin system=yes
|
||||||
|
|
||||||
- name: Create the polynote base directory
|
- 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
|
- 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:
|
with_items:
|
||||||
- '{{ polynote_storage_location }}'
|
- '{{ polynote_storage_location }}'
|
||||||
- '{{ polynote_cache_dir }}'
|
- '{{ polynote_cache_dir }}'
|
||||||
|
|
Loading…
Reference in New Issue