From a0be93a571f8f85397c632fb4cb6f90aa8db2a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Mon, 12 Feb 2024 20:12:25 +0100 Subject: [PATCH] Update nextcloud.yml --- playbooks/nextcloud.yml | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/playbooks/nextcloud.yml b/playbooks/nextcloud.yml index 131ac48..75869dc 100644 --- a/playbooks/nextcloud.yml +++ b/playbooks/nextcloud.yml @@ -23,12 +23,18 @@ postgres_work_mem: postgres_temp_buffers: # Redis - redis_memory: + redis_memory: + redis_port: 0 # NextCloud + nextcloud_hostname: nextcloud_admin_user: nextcloud_admin_pass: - nextcloud_preview_concurrent: - + nextcloud_preview_concurrency: + nextcloud_preview_max_memory: + nextcloud_preview_jpeg_quality: 75 + nextcloud_preview_max_size: 1280 + nextcloud_loglevel: 3 + tasks: - name: "Update cache & Full system update" apt: @@ -51,13 +57,25 @@ dest: /etc/udev/rules.d/65-disk-power.rules - name: "Install Nginx" - + apt: + name: nginx-full certbot python3-certbot-nginx + status: latest + - name: "Install PHP" - + apt: + name: php8.2 php8.2-fpm php8.2-gmp php8.2-bz2 php-bcmath php8.2-intl php8.2-mbstring php8.2-apcu php8.2-xml php8.2-redis php8.2-curl php8.2-zip php8.2-pgsql php8.2-gd php8.2-bcmath php8.2-imagick php8.2-common libmagickcore-6.q16-6-extra imagemagick ffmpeg + status: latest + - name: "Install Redis" - + apt: + name: redis-server + status: latest + - name: "Install PostgreSQL" - + apt: + name: postgresql + status: latest + - name: "Create Nextcloud user" ansible.builtin.user: name: nextcloud