|
|
@ -141,3 +141,24 @@
|
|
|
|
difficulty: normal
|
|
|
|
difficulty: normal
|
|
|
|
motd: ChaosCraft
|
|
|
|
motd: ChaosCraft
|
|
|
|
view-distance: 16
|
|
|
|
view-distance: 16
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
|
|
|
|
- name: Configure custom archive Nextcloud directory on hdd for personal usages
|
|
|
|
|
|
|
|
tags:
|
|
|
|
|
|
|
|
- cloud.banananet.work
|
|
|
|
|
|
|
|
- custom_archive_directory
|
|
|
|
|
|
|
|
vars:
|
|
|
|
|
|
|
|
archive_directory: "{{ global_hdd_directory }}/{{ bnet_cloud_domain }}~personal-archive"
|
|
|
|
|
|
|
|
block:
|
|
|
|
|
|
|
|
- name: Create archive directory
|
|
|
|
|
|
|
|
file:
|
|
|
|
|
|
|
|
state: directory
|
|
|
|
|
|
|
|
path: "{{ archive_directory }}"
|
|
|
|
|
|
|
|
owner: "{{ bnet_cloud_username }}"
|
|
|
|
|
|
|
|
group: "{{ bnet_cloud_username }}"
|
|
|
|
|
|
|
|
mode: "u=rwx,g=rx,o="
|
|
|
|
|
|
|
|
register: archive_directory_task
|
|
|
|
|
|
|
|
- name: Show message to user about path on changes
|
|
|
|
|
|
|
|
debug:
|
|
|
|
|
|
|
|
msg: >-
|
|
|
|
|
|
|
|
Changed custom archive directory: Please ensure you (re-)configure this directory properly on your Nextcloud instance: {{ archive_directory | quote }}
|
|
|
|
|
|
|
|
when: archive_directory_task.changed
|
|
|
|