From be15c36d4c377b1ed103e86581cb407da6eb3183 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 4 May 2024 19:35:58 +0200 Subject: [PATCH] Create update directory if useful https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#updatedirectory --- tasks/configuration.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tasks/configuration.yml b/tasks/configuration.yml index 2e1e81f..d55a484 100644 --- a/tasks/configuration.yml +++ b/tasks/configuration.yml @@ -19,6 +19,15 @@ become_user: "{{ instances.user }}" changed_when: true +- name: "Configuration | Erstelle Update-Verzeichnis" + ansible.builtin.file: + path: "{{ nextcloud_update_directory }}" + state: directory + owner: "{{ instances.user }}" + group: "{{ instances.user }}" + mode: "0755" + when: nextcloud_update_directory is defined + - name: "Configuration | Erstelle Konfiguration | {{ instances.name }}" ansible.builtin.template: src: config.json.j2